summaryrefslogtreecommitdiff
path: root/www/navigator
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-09-30 09:06:01 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-09-30 09:06:01 +0000
commit0ed415303bfed68ba4501c5ecd166378bc5918f3 (patch)
treea1b4ca3ad50be1a92ff3dbd5ec1b4ae6064aaa8c /www/navigator
parent18fe44467e49335946945a4161a91ac5c72a6755 (diff)
downloadpkgsrc-0ed415303bfed68ba4501c5ecd166378bc5918f3.tar.gz
only pull in ../../emulators/suse_linux/Makefile.application if we are
actually using a Linux version of netscape. Fixes build on alpha under compat_osf1 and probably sparc under compat_svr4.
Diffstat (limited to 'www/navigator')
-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 ab02631f00e..c9b72b87948 100644
--- a/www/navigator/Makefile.common
+++ b/www/navigator/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.65 2003/08/08 10:02:02 grant Exp $
+# $NetBSD: Makefile.common,v 1.66 2003/09/30 09:06:01 dmcmahill Exp $
#
# Common include file for communicator and navigator packages
@@ -231,7 +231,17 @@ do-install:
.endif
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386" && !defined(NS_USE_BSDI)
+NS_NEED_LINUX= yes
+.elif ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc"
+NS_NEED_LINUX= yes
+.elif ${OPSYS} == "Linux"
+NS_NEED_LINUX= yes
+.endif
+
.if ${BINNAME} != "netscape"
USE_BUILDLINK2= # defined
-. include "../../emulators/suse_linux/Makefile.application"
+. if defined(NS_NEED_LINUX)
+. include "../../emulators/suse_linux/Makefile.application"
+. endif
.endif