aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-31 08:14:39 +0800
committerarved <arved@FreeBSD.org>2004-01-31 08:14:39 +0800
commit75ec92d2bfee008e044832dadb5a415b560e348d (patch)
treeec1c4a0798053f1837a29cf2d8ec46d2361ac2d2
parent45f76acf3abe5c048756c58f41c8fed785d28c48 (diff)
downloadfreebsd-ports-gnome-75ec92d2bfee008e044832dadb5a415b560e348d.tar.gz
freebsd-ports-gnome-75ec92d2bfee008e044832dadb5a415b560e348d.tar.zst
freebsd-ports-gnome-75ec92d2bfee008e044832dadb5a415b560e348d.zip
Fix build on AMD64
-rw-r--r--graphics/aqsis/Makefile2
-rw-r--r--graphics/cybervrml97/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/aqsis/Makefile b/graphics/aqsis/Makefile
index eead84b3a567..372dc7f5d5fc 100644
--- a/graphics/aqsis/Makefile
+++ b/graphics/aqsis/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-static --datadir="${DATADIR}"
INSTALLS_SHLIB= yes
-CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -fPIC
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
diff --git a/graphics/cybervrml97/Makefile b/graphics/cybervrml97/Makefile
index a34d9591005b..809a72f59ffe 100644
--- a/graphics/cybervrml97/Makefile
+++ b/graphics/cybervrml97/Makefile
@@ -24,7 +24,7 @@ USE_MESA= yes
USE_BISON= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/cv97
-MAKE_ENV= CPPFLAGS="${CXXFLAGS} -I${X11BASE}/include" \
+MAKE_ENV= CPPFLAGS="${CXXFLAGS} -I${X11BASE}/include -fPIC" \
LIBS="-L${X11BASE}/lib"
INSTALLS_SHLIB= yes