diff options
author | miwi <miwi@FreeBSD.org> | 2009-04-02 19:10:26 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-04-02 19:10:26 +0800 |
commit | 028390dc6410e8c074e06adc36c26246c1d74a76 (patch) | |
tree | 4f59c0f60753c5576580e832de36d46def597d62 /x11-toolkits/plib/Makefile | |
parent | 9e411602b002c2392ce4613f490545791e5ad441 (diff) | |
download | freebsd-ports-gnome-028390dc6410e8c074e06adc36c26246c1d74a76.tar.gz freebsd-ports-gnome-028390dc6410e8c074e06adc36c26246c1d74a76.tar.zst freebsd-ports-gnome-028390dc6410e8c074e06adc36c26246c1d74a76.zip |
- Fix build on HEAD
Diffstat (limited to 'x11-toolkits/plib/Makefile')
-rw-r--r-- | x11-toolkits/plib/Makefile | 9 |
1 files changed, 8 insertions, 1 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 |