summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-07-27 08:00:50 +0000
committertron <tron@pkgsrc.org>2004-07-27 08:00:50 +0000
commit296ddc88b75c084042d6c774b508a16fafc7726d (patch)
treeeea196f3c5f47ba5c82dbce8921e71e86fa2da10 /www
parenta48bcd1134bd26f8817d23ef408518ee0462c397 (diff)
downloadpkgsrc-296ddc88b75c084042d6c774b508a16fafc7726d.tar.gz
Only apply binpatch to "communicator" package not to "navigator" package
because we don't have a patch for that.
Diffstat (limited to 'www')
-rw-r--r--www/navigator/Makefile.common8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/navigator/Makefile.common b/www/navigator/Makefile.common
index 04aafdaf50e..57c98e8bcd3 100644
--- a/www/navigator/Makefile.common
+++ b/www/navigator/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.70 2004/07/23 03:46:06 atatat Exp $
+# $NetBSD: Makefile.common,v 1.71 2004/07/27 08:00:50 tron Exp $
#
# Common include file for communicator and navigator packages
@@ -66,10 +66,10 @@ WRKNAME= x86-bsdi-bsd2
VENDOR_NAME= BSD/OS 2.1
BUILD_DEPENDS= binpatch>=1.0:../../pkgtools/binpatch
+
post-install:
sh ../../www/navigator/files/binpatch-x86-bsdi-bsd2-4.75.sh \
${LOCALBASE} ${MOZILLA_HOME}/netscape
-
.elif ${MACHINE_ARCH} == "i386"
PKGREVISION= 1
PLIST_ARCH= linux-i386
@@ -81,11 +81,13 @@ VENDOR_NAME= Linux 2.2
DEPENDS+= ns-flash>4.0:../../multimedia/ns-flash
. endif
+.if ${BINNAME} == "communicator"
BUILD_DEPENDS= binpatch>=1.0:../../pkgtools/binpatch
+
post-install:
sh ../../www/navigator/files/binpatch-x86-unknown-linux2.2-4.80.sh \
${LOCALBASE} ${MOZILLA_HOME}/netscape
-
+.endif
.elif ((${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64") && defined(NS_USE_SUNOS))
. if !exists(/emul/sunos/usr/lib/ld.so)
PKG_FAIL_REASON= "${PKGNAME} requires SunOS libraries - see compat_sunos(8)"