aboutsummaryrefslogtreecommitdiffstats
path: root/cad/opencascade-tutorial
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-02-07 22:57:49 +0800
committergahr <gahr@FreeBSD.org>2013-02-07 22:57:49 +0800
commit41a58f4e1885bda03c851ec5eeb46a0b2018fd34 (patch)
treee9433273f8212799f1369d579fb61a5ee351bcda /cad/opencascade-tutorial
parent18feecf11aa7aebf13c924e5725f6b6bc6e1ca6f (diff)
downloadfreebsd-ports-gnome-41a58f4e1885bda03c851ec5eeb46a0b2018fd34.tar.gz
freebsd-ports-gnome-41a58f4e1885bda03c851ec5eeb46a0b2018fd34.tar.zst
freebsd-ports-gnome-41a58f4e1885bda03c851ec5eeb46a0b2018fd34.zip
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: cad)
Approved by: portmgr
Diffstat (limited to 'cad/opencascade-tutorial')
-rw-r--r--cad/opencascade-tutorial/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/cad/opencascade-tutorial/Makefile b/cad/opencascade-tutorial/Makefile
index 7c6b4c96ff12..bfe99fb30545 100644
--- a/cad/opencascade-tutorial/Makefile
+++ b/cad/opencascade-tutorial/Makefile
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= --with-gl-include=${LOCALBASE}/include \
--with-qt-dir=${QTDIR} \
--enable-qt-mt \
--with-cascade-dir=${CASROOT}
-LDFLAGS+= ${PTHREAD_LIBS}
+LDFLAGS+= -pthread
WRKSRC= ${WRKDIR}/opencascade-${PORTVERSION}/samples/tutorial
CONFIGURE_LOG= adm/${OPSYS}/config.log
@@ -50,8 +50,7 @@ PLIST_SUB= INSTDIR=${LINSTDIR}
pre-configure:
${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
- ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
- -e 's|/usr/X11R6|${LOCALBASE}|' \
+ ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
do-install: