aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-22 19:41:54 +0800
committertg <tg@FreeBSD.org>2001-08-22 19:41:54 +0800
commit15a0d416459c0eb7b7752c2528dba83b7864d730 (patch)
tree22f2ea53df4875286607e22bd125ca8f9f9c6527 /graphics
parent35229bda6cf81f910483a24c06ba9a25364df2d6 (diff)
downloadfreebsd-ports-gnome-15a0d416459c0eb7b7752c2528dba83b7864d730.tar.gz
freebsd-ports-gnome-15a0d416459c0eb7b7752c2528dba83b7864d730.tar.zst
freebsd-ports-gnome-15a0d416459c0eb7b7752c2528dba83b7864d730.zip
Take out the check for ${XFREE86_VERSION} >= 4; libGL always needs
the thread lib now.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opendx/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index 44c7b3698289..f5a5fc366e8f 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -29,20 +29,13 @@ USE_XLIB= yes
AUTOMAKE_ARGS= -a -i
CONFIGURE_ARGS= --without-magick
CONFIGURE_ENV= ARCH="" \
- CFLAGS="${CFLAGS} -I${PREFIX}/include" \
+ CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${PREFIX}/include" \
CPPFLAGS="-I${PREFIX}/include" \
- CXXFLAGS="${CFLAGS} -I${PREFIX}/include" \
- LDFLAGS="-L${PREFIX}/lib ${LDFLAGS}"
+ CXXFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${PREFIX}/include" \
+ LDFLAGS="-L${PREFIX}/lib ${LDFLAGS} ${PTHREAD_LIBS}"
NO_MTREE= yes
PLIST_SUB= ARCH=${OPSYS:L}
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} >= 4
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
-.endif
-
post-patch:
@${RM} -f ${WRKSRC}/include/stamp-h.in
@@ -59,4 +52,4 @@ post-install:
xargs ${PERL} -pi -e "s;/usr/lpp;${PREFIX};g"
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>