summaryrefslogtreecommitdiff
path: root/www/navigator/Makefile.common
diff options
context:
space:
mode:
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"