mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Take out the check for ${XFREE86_VERSION} >= 4; libGL always needs
the thread lib now.
This commit is contained in:
parent
ed74f89009
commit
c4322da6d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46639
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user