aboutsummaryrefslogtreecommitdiff
path: root/www/nspluginwrapper-devel
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2009-08-06 15:59:17 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2009-08-06 15:59:17 +0000
commitb1f4d76293e071b149d76d033b6d254252834222 (patch)
tree1136efb3f22a4cda8b4d2b6795807ea3c271add4 /www/nspluginwrapper-devel
parentf4e8c82d197e97c090c755d1acf24a4db42edc03 (diff)
downloadports-b1f4d76293e071b149d76d033b6d254252834222.tar.gz
ports-b1f4d76293e071b149d76d033b6d254252834222.zip
Notes
Diffstat (limited to 'www/nspluginwrapper-devel')
-rw-r--r--www/nspluginwrapper-devel/Makefile4
-rw-r--r--www/nspluginwrapper-devel/files/patch-ulimit7
2 files changed, 10 insertions, 1 deletions
diff --git a/www/nspluginwrapper-devel/Makefile b/www/nspluginwrapper-devel/Makefile
index f6fc16a75b46..2cc5a6b047f6 100644
--- a/www/nspluginwrapper-devel/Makefile
+++ b/www/nspluginwrapper-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nspluginwrapper
PORTVERSION= 1.2.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www linux emulators
MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RPMFILE}
@@ -53,6 +53,8 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/src/npw-config.c
+ ${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.orig
+
post-install:
${MKDIR} ${LIBDIR}/i386/linux
${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \
diff --git a/www/nspluginwrapper-devel/files/patch-ulimit b/www/nspluginwrapper-devel/files/patch-ulimit
new file mode 100644
index 000000000000..a372ddb4e8ec
--- /dev/null
+++ b/www/nspluginwrapper-devel/files/patch-ulimit
@@ -0,0 +1,7 @@
+Index: usr/lib/nspluginwrapper/i386/linux/npviewer
+@@ -1,4 +1,5 @@
+ #!/bin/sh
+ TARGET_OS=linux
+ TARGET_ARCH=i386
++ulimit -s 32768 2>/dev/null
+ . /usr/local/lib/nspluginwrapper/noarch/npviewer