aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-09-08 10:25:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-09-08 10:25:36 +0800
commit25644a59018961b9ebe82f39cc1503b82356d557 (patch)
tree3911ca1e138307850e444b6ba0b36c3b6e8bece6 /x11-toolkits
parent1e5cea099ae3d3ffb22ca2d62ca2f40c7f7d8430 (diff)
downloadfreebsd-ports-gnome-25644a59018961b9ebe82f39cc1503b82356d557.tar.gz
freebsd-ports-gnome-25644a59018961b9ebe82f39cc1503b82356d557.tar.zst
freebsd-ports-gnome-25644a59018961b9ebe82f39cc1503b82356d557.zip
- Patch away a bit of uncompatible USB code on 8.x. Not sure if this will make USB joysticks work, but at least libplibjs.a (which is needed by upcoming games/supertuxkart) is now always built
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/plib/Makefile7
-rw-r--r--x11-toolkits/plib/pkg-plist4
2 files changed, 4 insertions, 7 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile
index 72274e7cd0f8..ad6213c11b7f 100644
--- a/x11-toolkits/plib/Makefile
+++ b/x11-toolkits/plib/Makefile
@@ -7,7 +7,7 @@
PORTNAME= plib
PORTVERSION= 1.8.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits
MASTER_SITES= http://plib.sourceforge.net/dist/
@@ -28,10 +28,7 @@ LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800064
-CONFIGURE_ARGS+=--disable-js
-PLIST_SUB+= JS="@comment "
-.else
-PLIST_SUB+= JS=""
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx
.endif
post-patch:
diff --git a/x11-toolkits/plib/pkg-plist b/x11-toolkits/plib/pkg-plist
index 6a810e3a4574..fa68c25af8ac 100644
--- a/x11-toolkits/plib/pkg-plist
+++ b/x11-toolkits/plib/pkg-plist
@@ -1,6 +1,6 @@
bin/plib-jscal
include/plib/fnt.h
-%%JS%%include/plib/js.h
+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
-%%JS%%lib/libplibjs.a
+lib/libplibjs.a
lib/libplibnet.a
lib/libplibpsl.a
lib/libplibpu.a