summaryrefslogtreecommitdiff
path: root/www/netscape7/Makefile
diff options
context:
space:
mode:
authoratatat <atatat@pkgsrc.org>2004-07-27 04:36:06 +0000
committeratatat <atatat@pkgsrc.org>2004-07-27 04:36:06 +0000
commitccf1ae148b1531760bc86b0cd4be387e8dbbb7bd (patch)
tree8425a4675d6796ecfec05cf393374f815769b604 /www/netscape7/Makefile
parentd036daa122e5cdf526e4d632093da5011867c9d7 (diff)
downloadpkgsrc-ccf1ae148b1531760bc86b0cd4be387e8dbbb7bd.tar.gz
Add a tiny binary patch to netscape7 (libsoftokn3.so, actually) that
makes the NetBSD kernel stop whining about file descriptor 0 being closed when netstat gets run. The script contains everything you don't want to know. Bump this pkg to PKGREVISION 3.
Diffstat (limited to 'www/netscape7/Makefile')
-rw-r--r--www/netscape7/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile
index c018336d41e..14f003d4f86 100644
--- a/www/netscape7/Makefile
+++ b/www/netscape7/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.27 2004/06/26 10:46:41 grant Exp $
+# $NetBSD: Makefile,v 1.28 2004/07/27 04:36:06 atatat Exp $
#
DISTNAME= netscape-i686-pc-linux-gnu-sea
PKGNAME= netscape${VERS_MAJ}-${VERS_MAJ}.${VERS_MIN}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= ftp://ftp.netscape.com/pub/netscape7/${SUB}/ \
ftp://sunsite.utk.edu/pub/netscape/netscape7/${SUB}/ \
@@ -15,6 +15,8 @@ MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://channels.netscape.com/ns/browsers/default.jsp
COMMENT= Netscape Browser, Mail and Newsreader suite, version 7
+BUILD_DEPENDS= binpatch>=1.0:../../pkgtools/binpatch
+
RESTRICTED= "No re-distribution without agreement from Netscape"
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
@@ -82,6 +84,10 @@ pre-install:
@${ECHO} "@unexec \$${RMDIR} %D/lib/netscape 2>/dev/null || \$${TRUE}" \
>> ${PLIST_SRC}
+post-build:
+ ${SH} ../../www/netscape7/files/binpatch-x86-unknown-linux2.2.5-7.1.sh \
+ ${LOCALBASE} ${WRKSRC}/dest/libsoftokn3.so
+
do-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/netscape/netscape7
cd ${INSTDIR} && ${PAX} -rw . ${PREFIX}/lib/netscape/netscape7