summaryrefslogtreecommitdiff
path: root/graphics/cal3d-examples
diff options
context:
space:
mode:
authorgarbled <garbled>2004-02-11 01:32:06 +0000
committergarbled <garbled>2004-02-11 01:32:06 +0000
commit6b2d82b3b0385d5d0301cde09f7324ef3d625f7e (patch)
tree179129d63ea488eb3f4c734a587c56b1f7252b31 /graphics/cal3d-examples
parentd80c602c80cd726418a6a5100abf51b96e953ebb (diff)
downloadpkgsrc-6b2d82b3b0385d5d0301cde09f7324ef3d625f7e.tar.gz
Now that PR 24378 has been fixed, take the hack out of Makefile.common so
these packages build the way they were intended to.
Diffstat (limited to 'graphics/cal3d-examples')
-rw-r--r--graphics/cal3d-examples/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/cal3d-examples/Makefile b/graphics/cal3d-examples/Makefile
index 5c220914dce..0fde6361e3e 100644
--- a/graphics/cal3d-examples/Makefile
+++ b/graphics/cal3d-examples/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/02/10 09:15:39 garbled Exp $
+# $NetBSD: Makefile,v 1.2 2004/02/11 01:32:06 garbled Exp $
#
PKGNAME= cal3d-examples-${CAL3D_VERSION}
@@ -10,6 +10,7 @@ DISTFILES= TheCallyDemo-0.9.1b.zip \
COMMENT= Tools and demos for cal3d library
+USE_X11= YES
USE_BUILDLINK3= yes
CONFIGURE_ARGS+= --with-cal3d=${PREFIX}
CONFIGURE_ARGS+= --with-glut=${PREFIX}
@@ -17,7 +18,8 @@ CONFIGURE_DIRS= ${WRKSRC}/examples/cally \
${WRKSRC}/examples/miniviewer_gl \
${WRKSRC}/tools/converter
CFLAGS+= -DCAL3D_DATADIR='\"${DATADIR}/\"'
-LIBS+= -lm -lX11 -lXi -lGL -lGLU -lXmu
+LDFLAGS+= -L${X11BASE}/lib
+LIBS+= -lm -lGL -lX11 -lGLU -lXi -lXmu
BUILD_DIRS= ${WRKSRC}/examples/cally \
${WRKSRC}/examples/miniviewer_gl \
${WRKSRC}/tools/converter