summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron>1999-11-14 18:57:30 +0000
committertron <tron>1999-11-14 18:57:30 +0000
commit4fce94e93c2fb54dda2e9252a37b7d7068e77109 (patch)
treedd0e668b23be97cc4ca19abd550d2f99149ad129 /x11
parentaefab3efdb468ae94c93a4937cb62df0219e8a27 (diff)
downloadpkgsrc-4fce94e93c2fb54dda2e9252a37b7d7068e77109.tar.gz
Only depend on "libgtop" package on platforms supported by it.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-core/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11/gnome-core/Makefile b/x11/gnome-core/Makefile
index cf1b3540941..5ed382446df 100644
--- a/x11/gnome-core/Makefile
+++ b/x11/gnome-core/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 1999/10/27 11:05:21 tron Exp $
+# $NetBSD: Makefile,v 1.32 1999/11/14 18:57:30 tron Exp $
DISTNAME= gnome-core-1.0.53
CATEGORIES= x11 gnome
@@ -9,7 +9,6 @@ HOMEPAGE= http://www.gnome.org/
DEPENDS+= libghttp-*:../../www/libghttp
DEPENDS+= gnome-libs-*:../../x11/gnome-libs
-DEPENDS+= libgtop-*:../../devel/libgtop
GNU_CONFIGURE= yes
USE_X11BASE= yes
@@ -36,8 +35,15 @@ pre-configure:
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "NetBSD") && exists(/usr/include/machine/apmvar.h)
+.if (${OPSYS} == "NetBSD")
+.if (${MACHINE_ARCH} == arm32) || (${MACHINE_ARCH} == i386) || \
+ (${MACHINE_ARCH} == m68k)
+DEPENDS+= libgtop-*:../../devel/libgtop
+.endif
+
+.if exists(/usr/include/machine/apmvar.h)
CPPFLAGS+= -D__NetBSD_APM__
.endif
+.endif
.include "../../mk/bsd.pkg.mk"