aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/plib
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-04-02 11:10:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-04-02 11:10:26 +0000
commitb343e648a3b98eaaf5e40c1ee4cc678b763fbe56 (patch)
treeddad6f411dab3b8daf7f9a3219ca1160d3ff73cd /x11-toolkits/plib
parent1e452e338f403fa9dc1ff02d60581966879f20b7 (diff)
downloadports-b343e648a3b98eaaf5e40c1ee4cc678b763fbe56.tar.gz
ports-b343e648a3b98eaaf5e40c1ee4cc678b763fbe56.zip
Notes
Diffstat (limited to 'x11-toolkits/plib')
-rw-r--r--x11-toolkits/plib/Makefile9
-rw-r--r--x11-toolkits/plib/pkg-plist4
2 files changed, 10 insertions, 3 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile
index e7c9c9258313..72274e7cd0f8 100644
--- a/x11-toolkits/plib/Makefile
+++ b/x11-toolkits/plib/Makefile
@@ -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
diff --git a/x11-toolkits/plib/pkg-plist b/x11-toolkits/plib/pkg-plist
index fa68c25af8ac..6a810e3a4574 100644
--- a/x11-toolkits/plib/pkg-plist
+++ b/x11-toolkits/plib/pkg-plist
@@ -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