aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-12-03 13:49:46 +0800
committerkris <kris@FreeBSD.org>2002-12-03 13:49:46 +0800
commit398ba90357f31f857da0189d5c70a852d2704cc7 (patch)
treeef3f69589447964907b08cc04f3d48d053ba1896
parent3c35007d9bb0530e192e73df660f2d9a0bb3d612 (diff)
downloadfreebsd-ports-graphics-398ba90357f31f857da0189d5c70a852d2704cc7.tar.gz
freebsd-ports-graphics-398ba90357f31f857da0189d5c70a852d2704cc7.tar.zst
freebsd-ports-graphics-398ba90357f31f857da0189d5c70a852d2704cc7.zip
Use -fPIC instead of -fpic to fix build on sparc64
-rw-r--r--databases/db2/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/db2/files/patch-ad b/databases/db2/files/patch-ad
new file mode 100644
index 00000000000..6f4c55ffc50
--- /dev/null
+++ b/databases/db2/files/patch-ad
@@ -0,0 +1,11 @@
+--- ../dist/Makefile.in.orig Mon Dec 2 21:19:43 2002
++++ ../dist/Makefile.in Mon Dec 2 21:19:50 2002
+@@ -4,7 +4,7 @@
+
+ srcdir= @srcdir@/..
+ CPPFLAGS=-I. -I$(srcdir)/include @CPPFLAGS@
+-SHAREDFLAGS= -fpic -DPIC
++SHAREDFLAGS= -fPIC -DPIC
+ CFLAGS= -c @CFLAGS@ $(CPPFLAGS)
+ CC= @CC@
+ CXXFLAGS=-c @CXXFLAGS@ $(CPPFLAGS)