summaryrefslogtreecommitdiff
path: root/cad/opencascade-tutorial
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-05-26 14:59:56 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-05-26 14:59:56 +0000
commitddca0381821fc6333b590da55b4d506835942b73 (patch)
tree3671cfe5fefe52f38af9b8dc8af582ec710eca77 /cad/opencascade-tutorial
parent- Take maintainership. (diff)
USE_GL is no more sufficient, a dependence on libGLU must be added.
Reported by: pointyhat via Kris
Notes
Notes: svn path=/head/; revision=191905
Diffstat (limited to 'cad/opencascade-tutorial')
-rw-r--r--cad/opencascade-tutorial/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/cad/opencascade-tutorial/Makefile b/cad/opencascade-tutorial/Makefile
index 2c1ecf892d52..2c8b16f71ce4 100644
--- a/cad/opencascade-tutorial/Makefile
+++ b/cad/opencascade-tutorial/Makefile
@@ -15,7 +15,8 @@ MASTER_SITE_SUBDIR= thierry
MAINTAINER= thierry@FreeBSD.org
COMMENT= OpenCascade sample tutorial
-LIB_DEPENDS= TKernel.0:${PORTSDIR}/cad/opencascade
+LIB_DEPENDS= GLU.1:${PORTSDIR}/graphics/libGLU \
+ TKernel.0:${PORTSDIR}/cad/opencascade
USE_BZIP2= yes
USE_GL= yes
@@ -47,6 +48,7 @@ PLIST_SUB= INSTDIR=${LINSTDIR}
pre-configure:
${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
+ -e 's|/usr/X11R6|${X11BASE}|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
do-install: