summaryrefslogtreecommitdiff
path: root/www/navigator/Makefile.common
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-06-30 19:07:18 +0000
committerdmcmahill <dmcmahill>2002-06-30 19:07:18 +0000
commitf0571f7c96341c47f35e3e8192d5ea2c6c014b87 (patch)
treee293a897ab6ee8a85f64ef639ccbf81cf855cda5 /www/navigator/Makefile.common
parent948d735c13268fb6b4b4b2dda8aa4a4b22a684e0 (diff)
downloadpkgsrc-f0571f7c96341c47f35e3e8192d5ea2c6c014b87.tar.gz
switch sparc to use the solaris-2.5.1 binaries by default under compat_svr4.
The old behaviour of using the sunos-4.1 binaries under compat_sunos can be achieved by setting NS_USE_SUNOS.
Diffstat (limited to 'www/navigator/Makefile.common')
-rw-r--r--www/navigator/Makefile.common14
1 files changed, 12 insertions, 2 deletions
diff --git a/www/navigator/Makefile.common b/www/navigator/Makefile.common
index d83b49e81ed..05a7537d0be 100644
--- a/www/navigator/Makefile.common
+++ b/www/navigator/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.48 2002/06/02 09:07:01 wiz Exp $
+# $NetBSD: Makefile.common,v 1.49 2002/06/30 19:07:18 dmcmahill Exp $
#
# Common include file for communicator and navigator packages
@@ -71,7 +71,7 @@ VENDOR_NAME= Linux 2.2
DEPENDS+= ns-flash>4.0:../../graphics/ns-flash
.endif
#
-.elif (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64")
+.elif (((${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64")) && defined(NS_USE_SUNOS))
.if !exists(/emul/sunos/usr/lib/ld.so)
IGNORE= "${PKGNAME} requires SunOS libraries - see compat_sunos(8)"
.endif
@@ -85,6 +85,16 @@ WRKNAME= ${DISTUNAME}
VENDOR_NAME= SunOS 4.1.3
MASTER_SITES= ftp://archive.netscape.com/archive/communicator/${SUB}/
#
+.elif (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64")
+PLIST_ARCH= solaris-sparc
+.if !exists(/emul/svr4/usr/lib/ld.so)
+IGNORE= "${PKGNAME} requires Solaris libraries - see compat_svr4(8)"
+.endif
+DISTUNAME= sparc-sun-solaris2.5.1
+DIST_DIR_NAME= supported/sunos551
+WRKNAME= sparc-sun-solaris2.5.1
+VENDOR_NAME= Solaris 2.5.1
+#
.elif (${MACHINE_ARCH} == "powerpc")
.if (${BINNAME} == "navigator")
IGNORE= "There is no navigator-only package for PowerPC"