summaryrefslogtreecommitdiff
path: root/graphics/cal3d-examples
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2004-02-11 01:32:06 +0000
committergarbled <garbled@pkgsrc.org>2004-02-11 01:32:06 +0000
commit552fe768fed8f438d6fa5a00f7c0217e47c8d99b (patch)
tree179129d63ea488eb3f4c734a587c56b1f7252b31 /graphics/cal3d-examples
parent83c0134322fe23dae3cac75e58fddf0972ac85c3 (diff)
downloadpkgsrc-552fe768fed8f438d6fa5a00f7c0217e47c8d99b.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