From ffe377ad538f577a3fc4042763d1f0991d71a97a Mon Sep 17 00:00:00 2001 From: jschauma Date: Thu, 30 Jan 2003 03:24:12 +0000 Subject: 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. --- www/navigator/Makefile.common | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'www/navigator') 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 -- cgit v1.2.3