aboutsummaryrefslogtreecommitdiff
path: root/graphics/opendx
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-08-22 11:41:54 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-08-22 11:41:54 +0000
commitc4322da6d8adadb8a6b900054f21d06f81bf50c5 (patch)
tree9ad689fbeb2059b0817339aa2604d748fcecbe7a /graphics/opendx
parented74f89009baa3a2271a825341c7cacb601234ff (diff)
downloadports-c4322da6d8adadb8a6b900054f21d06f81bf50c5.tar.gz
ports-c4322da6d8adadb8a6b900054f21d06f81bf50c5.zip
Notes
Diffstat (limited to 'graphics/opendx')
-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>