Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/nspluginwrapper/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile 19 Mar 2009 17:28:49 -0000 1.13 +++ Makefile 30 Jun 2009 16:31:29 -0000 @@ -7,7 +7,7 @@ PORTNAME= nspluginwrapper PORTVERSION= 1.2.2 -PORTREVISION= 2 +PORTREVISION= 3 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/* \ Index: 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