summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-22 18:15:12 +0000
committerarved <arved@FreeBSD.org>2004-02-22 18:15:12 +0000
commitd691c8dda3a4318cb529353243d52ba36186b94a (patch)
tree41c715f44e68fa8d1216820747470ba3c1023b2c /devel
parentee66a7da96d41adf43a476a6796d0be5fba6b1e6 (diff)
downloadFreeBSD-ports-d691c8dda3a4318cb529353243d52ba36186b94a.zip
FreeBSD-ports-d691c8dda3a4318cb529353243d52ba36186b94a.tar.gz
Fix build on AMD64
PR: 63185 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'devel')
-rw-r--r--devel/libds/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/libds/Makefile b/devel/libds/Makefile
index 4066daa..da9d186 100644
--- a/devel/libds/Makefile
+++ b/devel/libds/Makefile
@@ -24,6 +24,10 @@ MAN3= libds.3
HTML= avltree.html heap.html parray.html set.html hashtbl.html \
index.html queue.html stack.html
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
# Copy header file and libraries.
do-install:
${INSTALL_DATA} ${WRKSRC}/ds.h ${PREFIX}/include
OpenPOWER on IntegriCloud