aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-08 04:49:37 +0800
committerkrion <krion@FreeBSD.org>2004-02-08 04:49:37 +0800
commitaa087c25620b4ff8938a0250acda3be0f0c6095c (patch)
tree2b26cbe2d7c3cdefe59992ce609e19ca449484b0 /graphics
parentd8da0a4c23d91901a9c721e473b1cc6cbe5d9896 (diff)
downloadfreebsd-ports-gnome-aa087c25620b4ff8938a0250acda3be0f0c6095c.tar.gz
freebsd-ports-gnome-aa087c25620b4ff8938a0250acda3be0f0c6095c.tar.zst
freebsd-ports-gnome-aa087c25620b4ff8938a0250acda3be0f0c6095c.zip
- Fix configure warning
- Fix build on AMD64
Diffstat (limited to 'graphics')
-rw-r--r--graphics/g3dviewer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/g3dviewer/Makefile b/graphics/g3dviewer/Makefile
index b34a1731bc88..6b3f650ce3d9 100644
--- a/graphics/g3dviewer/Makefile
+++ b/graphics/g3dviewer/Makefile
@@ -20,8 +20,9 @@ LIB_DEPENDS= gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
USE_GNOME= gtk12
USE_MESA= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= \
- CPPFLAGS="${PTHREAD_CFLAGS} `${GTK_CONFIG} --cflags`" \
+ CPPFLAGS="${PTHREAD_CFLAGS} `${GTK_CONFIG} --cflags` -fPIC" \
LDFLAGS="${PTHREAD_LIBS} `${GTK_CONFIG} --libs` -lGL -lGLU -lglut"
.include <bsd.port.mk>