Take out the check for ${XFREE86_VERSION} >= 4; libGL always needs

the thread lib now.
This commit is contained in:
Thomas Gellekum 2001-08-22 11:41:54 +00:00
parent ed74f89009
commit c4322da6d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46639

View File

@ -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>