summaryrefslogtreecommitdiff
path: root/devel/libds
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-02-22 18:15:12 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-02-22 18:15:12 +0000
commiteda2f67bb64ecb9d3352d08d9da0ba0fc8ec60f9 (patch)
tree3caa4e951e65ca6719e6bb7e8efc738285abf7f8 /devel/libds
parentUnbreak: chase checksum change on PDF file (documentation update). (diff)
Fix build on AMD64
PR: 63185 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Notes
Notes: svn path=/head/; revision=101744
Diffstat (limited to 'devel/libds')
-rw-r--r--devel/libds/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/libds/Makefile b/devel/libds/Makefile
index 4066daa6d9c6..da9d18675533 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