aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2007-05-26 22:59:56 +0800
committerthierry <thierry@FreeBSD.org>2007-05-26 22:59:56 +0800
commit42464088fb2da99050e2cdd0e73bf66000e673e6 (patch)
tree54d637f618e3e2aa9d0ba07286e192c94acf7eab /cad
parent542734d5412b1153da3365541b583eb112c61b80 (diff)
downloadfreebsd-ports-graphics-42464088fb2da99050e2cdd0e73bf66000e673e6.tar.gz
freebsd-ports-graphics-42464088fb2da99050e2cdd0e73bf66000e673e6.tar.zst
freebsd-ports-graphics-42464088fb2da99050e2cdd0e73bf66000e673e6.zip
USE_GL is no more sufficient, a dependence on libGLU must be added.
Reported by: pointyhat via Kris
Diffstat (limited to 'cad')
-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 2c1ecf892d5..2c8b16f71ce 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: