summaryrefslogtreecommitdiff
path: root/graphics/g3dviewer
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-07 20:49:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-07 20:49:37 +0000
commit50494385e632903636db1919c71a3d6b665351cc (patch)
tree4e2f91943dfcf9679a18160dca4689e322f111c5 /graphics/g3dviewer
parent- Add SIZE (diff)
- Fix configure warning
- Fix build on AMD64
Notes
Notes: svn path=/head/; revision=100289
Diffstat (limited to 'graphics/g3dviewer')
-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>