summaryrefslogtreecommitdiff
path: root/www/navigator
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-06-30 19:07:18 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-06-30 19:07:18 +0000
commit166c0259f1116eb8c4a90a29ecd12b3eaa33dafa (patch)
treee293a897ab6ee8a85f64ef639ccbf81cf855cda5 /www/navigator
parenta660fa5dfb2997a83dfa9da76244613c1bcc5dac (diff)
downloadpkgsrc-166c0259f1116eb8c4a90a29ecd12b3eaa33dafa.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')
-rw-r--r--www/navigator/MESSAGE6
-rw-r--r--www/navigator/Makefile.common14
2 files changed, 17 insertions, 3 deletions
diff --git a/www/navigator/MESSAGE b/www/navigator/MESSAGE
index 5c877e7e2eb..b529ec0c094 100644
--- a/www/navigator/MESSAGE
+++ b/www/navigator/MESSAGE
@@ -1,5 +1,5 @@
==============================================================================
-$NetBSD: MESSAGE,v 1.1 2001/11/01 02:17:24 zuntum Exp $
+$NetBSD: MESSAGE,v 1.2 2002/06/30 19:07:18 dmcmahill Exp $
alpha: The Digital UNIX version of Netscape requires COMPAT_OSF1 in your
kernel, plus /emul/osf1 libraries.
@@ -11,5 +11,9 @@ sparc: The SunOS version of Netscape requires COMPAT_SUNOS in your kernel,
plus /emul/sunos libraries. The default version is DNS, the NIS
version is 'netscape_nis'. Netscape appears to have stopped with 4.61.
SunOS 'navigator' has problems saving files, 'communicator' does not.
+ See compat_sunos(8).
+
+sparc: The Solaris version of Netscape requires COMPAT_SVR4 in your kernel,
+ plus /emul/svr4 libraries. See compat_svr4(8).
==============================================================================
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"