summaryrefslogtreecommitdiff
path: root/www/navigator
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-01-30 03:24:12 +0000
committerjschauma <jschauma>2003-01-30 03:24:12 +0000
commit9576b534150b327839abf971266dbbf9662123d7 (patch)
tree8d262a994795b4e259045002e6258802b1d8148e /www/navigator
parent6f3ee103abc43c3c70ff4f172139057dfa2dad76 (diff)
downloadpkgsrc-9576b534150b327839abf971266dbbf9662123d7.tar.gz
Only depend on suse_* packages if not on Linux.
Suggested by Jeremy C. Reed in Pine.LNX.4.43.0301111643530.17234-100000@pilchuck.reedmedia.net on tech-pkg.
Diffstat (limited to 'www/navigator')
-rw-r--r--www/navigator/Makefile.common11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/navigator/Makefile.common b/www/navigator/Makefile.common
index b16e81d641a..5ed7bf182f4 100644
--- a/www/navigator/Makefile.common
+++ b/www/navigator/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.59 2002/12/23 16:33:42 cjep Exp $
+# $NetBSD: Makefile.common,v 1.60 2003/01/30 03:24:12 jschauma Exp $
#
# Common include file for communicator and navigator packages
@@ -67,8 +67,6 @@ VENDOR_NAME= BSD/OS 2.1
#
.elif (${MACHINE_ARCH} == "i386")
PLIST_ARCH= linux-i386
-DEPENDS+= suse_compat>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
-DEPENDS+= suse_x11>=6.4:../../emulators/${SUSE_DIR_PREFIX}_x11
DISTUNAME= x86-unknown-linux2.2
DIST_DIR_NAME= supported/linux22
WRKNAME= x86-unknown-linux2.2
@@ -110,8 +108,6 @@ PKG_FAIL_REASON= "There is no navigator-only package for PowerPC"
PKG_FAIL_REASON+= "platform. Please cd to ../communicator and"
PKG_FAIL_REASON+= "install communicator package instead."
.endif
-DEPENDS+= suse_compat>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
-DEPENDS+= suse_x11>=6.4:../../emulators/${SUSE_DIR_PREFIX}_x11
NS_VERS= 4.73
PKGNAME= ${BINNAME}-${NS_VERS}
DISTNAME= netscape-4.7-3.ppc
@@ -147,6 +143,11 @@ NS_NAME= ${BINNAME}-${NS_VERS}
PKGNAME?= ${BINNAME}-${NS_VERS}
DISTNAME?= ${BINNAME}-v${NS_VERS_SHORT}-${NS_ENCRYPTION}.${DISTUNAME}
+.if ((${OPSYS} != "Linux") && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"))
+DEPENDS+= suse_compat>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
+DEPENDS+= suse_x11>=6.4:../../emulators/${SUSE_DIR_PREFIX}_x11
+.endif
+
.if (${BINNAME} != "netscape")
NO_BUILD= YES