1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build on HEAD

This commit is contained in:
Martin Wilke 2009-04-02 11:10:26 +00:00
parent 1e452e338f
commit b343e648a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231478
2 changed files with 10 additions and 3 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= plib
PORTVERSION= 1.8.5
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://plib.sourceforge.net/dist/
@ -27,13 +28,19 @@ LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800064
BROKEN= does not compile with new usb stack
CONFIGURE_ARGS+=--disable-js
PLIST_SUB+= JS="@comment "
.else
PLIST_SUB+= JS=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread||g ; \
s|-ldl||g ; \
s|-lc_r||g' ${WRKSRC}/configure
.if ${OSVERSION} >= 800064
@${ECHO} "JS component is not compiled with new usb stack"
.endif
post-build:
${CC} ${CFLAGS} -o ${WRKDIR}/plib-jscal ${FILESDIR}/jsBSDCal.c

View File

@ -1,6 +1,6 @@
bin/plib-jscal
include/plib/fnt.h
include/plib/js.h
%%JS%%include/plib/js.h
include/plib/net.h
include/plib/netBuffer.h
include/plib/netChannel.h
@ -40,7 +40,7 @@ include/plib/ssgconf.h
include/plib/ul.h
include/plib/ulRTTI.h
lib/libplibfnt.a
lib/libplibjs.a
%%JS%%lib/libplibjs.a
lib/libplibnet.a
lib/libplibpsl.a
lib/libplibpu.a