need -fPIC for shared objects (build on amd64)

This commit is contained in:
pvalchev 2007-02-18 06:23:38 +00:00
parent 0131efecdf
commit fa82b49bb4
3 changed files with 7 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.7 2006/12/26 23:10:28 avsm Exp $
# $OpenBSD: Makefile,v 1.8 2007/02/18 06:23:38 pvalchev Exp $
COMMENT= "Objective Caml bindings for SQLite3"
CATEGORIES= databases
V= 0.2.0
DISTNAME= ocaml-sqlite3-${V}
PKGNAME= ${DISTNAME}p3
PKGNAME= ${DISTNAME}p4
EXTRACT_SUFX= .tar.bz2
MASTER_SITES= http://metamatix.org/~ocaml/
WRKDIST= ${WRKDIR}/ocaml-sqlite3

View File

@ -1,4 +1,5 @@
MD5 (ocaml-sqlite3-0.2.0.tar.bz2) = e1c98f9815f63b50c9868484e17bac97
RMD160 (ocaml-sqlite3-0.2.0.tar.bz2) = 4414ddff97046df07ff39fb5c696fc05751386cb
SHA1 (ocaml-sqlite3-0.2.0.tar.bz2) = fb81cd797277e076b6feb079747d4bb9a3ed1584
SHA256 (ocaml-sqlite3-0.2.0.tar.bz2) = ccdd6c7f7ab60ef6896471bd70a2051f551e028000d26f5ed37757b78f3ad80f
SIZE (ocaml-sqlite3-0.2.0.tar.bz2) = 41852

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.2 2007/01/03 11:38:19 robert Exp $
--- Makefile.in.orig Mon Oct 17 04:25:28 2005
+++ Makefile.in Wed Jan 3 12:28:23 2007
$OpenBSD: patch-Makefile_in,v 1.3 2007/02/18 06:23:38 pvalchev Exp $
--- Makefile.in.orig Sun Oct 16 20:25:28 2005
+++ Makefile.in Sat Feb 17 22:20:59 2007
@@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@
bindir=@bindir@
CC=@CC@
-CFLAGS=@CPPFLAGS@ @CFLAGS@
+CFLAGS=@CPPFLAGS@ @CFLAGS@ @DEFS@
+CFLAGS=@CPPFLAGS@ @CFLAGS@ @DEFS@ -fPIC
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@