aboutsummaryrefslogtreecommitdiff
path: root/cad/slffea
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-02-07 14:57:49 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-02-07 14:57:49 +0000
commit5316d6995c9eab3e2b92e7994330d27312295f13 (patch)
treee9433273f8212799f1369d579fb61a5ee351bcda /cad/slffea
parent9e9d988f842033e039bc66c3548d6f02510ffd5c (diff)
downloadports-5316d6995c9eab3e2b92e7994330d27312295f13.tar.gz
ports-5316d6995c9eab3e2b92e7994330d27312295f13.zip
Notes
Diffstat (limited to 'cad/slffea')
-rw-r--r--cad/slffea/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cad/slffea/Makefile b/cad/slffea/Makefile
index 8b0fe78dd7ae..2bf59c63a506 100644
--- a/cad/slffea/Makefile
+++ b/cad/slffea/Makefile
@@ -24,7 +24,7 @@ LICENSE= GPLv2
USE_XORG= xmu xt
USE_GL= glut
-CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+CFLAGS+= -I${LOCALBASE}/include
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ALL_TARGET= everything
MAKE_JOBS_UNSAFE= yes
@@ -40,7 +40,7 @@ PLIST_FILES= ${EXEC:T:S/^/bin\//}
post-patch:
@(${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -E -e "s|^CC = .*|CC = ${CC} ${CFLAGS}|g" \
- -e "s|-lglut|-lglut ${PTHREAD_LIBS}|g" \
+ -e "s|-lglut|-lglut -pthread|g" \
-e "s|/usr/local|${LOCALBASE}|g" \
-e "s|/usr/X/|${LOCALBASE}/|g" \
-e "s|/usr/X11/|${LOCALBASE}/|g" \