aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-03-03 20:47:58 +0800
committerarved <arved@FreeBSD.org>2004-03-03 20:47:58 +0800
commit2ec2066936bc775b2618fb170cc2148355b73778 (patch)
treedfdf4a495db64e873f3d9ffa0df263c05bfbd1f3
parent6906f4f90f6a1ec85b511dbd6ad847cbd82db5f3 (diff)
downloadfreebsd-ports-gnome-2ec2066936bc775b2618fb170cc2148355b73778.tar.gz
freebsd-ports-gnome-2ec2066936bc775b2618fb170cc2148355b73778.tar.zst
freebsd-ports-gnome-2ec2066936bc775b2618fb170cc2148355b73778.zip
Fix build on AMD64
-rw-r--r--graphics/hs-hgl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/hs-hgl/Makefile b/graphics/hs-hgl/Makefile
index ed059d7bd234..183713180e13 100644
--- a/graphics/hs-hgl/Makefile
+++ b/graphics/hs-hgl/Makefile
@@ -30,6 +30,10 @@ MAKE_ENV= system=FreeBSD \
hugs_install=${HGL_LIBS}
ALL_TARGET= all
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
do-install:
${MKDIR} ${HGL_LIBS}
${MKDIR} ${HGL_LIBS}/demos