summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanw <danw>2000-06-24 03:30:26 +0000
committerdanw <danw>2000-06-24 03:30:26 +0000
commit87e944fe903464678b937192cc913e20479ecff1 (patch)
tree78383aed9f9b18ad9898f1d99040bd7b21bc6e4b
parentf78911b0136547042dd19a2651d5eadc0932a93b (diff)
downloadpkgsrc-87e944fe903464678b937192cc913e20479ecff1.tar.gz
Only depend on gtop/libgtop on archs that libgtop builds on.
-rw-r--r--misc/gnome-utils/Makefile9
-rw-r--r--x11/gnome/Makefile11
2 files changed, 17 insertions, 3 deletions
diff --git a/misc/gnome-utils/Makefile b/misc/gnome-utils/Makefile
index b2e145f9088..9513e7062a6 100644
--- a/misc/gnome-utils/Makefile
+++ b/misc/gnome-utils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2000/06/05 14:47:29 tron Exp $
+# $NetBSD: Makefile,v 1.19 2000/06/24 03:30:26 danw Exp $
DISTNAME= gnome-utils-1.2.0
CATEGORIES= misc x11 gnome
@@ -10,7 +10,14 @@ HOMEPAGE= http://www.gnome.org/
BUILD_DEPENDS= ${LOCALBASE}/bin/bison:../../devel/bison
DEPENDS+= ncurses>=4.2:../../devel/ncurses
DEPENDS+= gnome-core>=1.2.0:../../x11/gnome-core
+
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "NetBSD")
+.if (${MACHINE_ARCH} == arm32) || (${MACHINE_ARCH} == i386) || \
+ (${MACHINE_ARCH} == m68k)
DEPENDS+= libgtop>=1.0.9:../../devel/libgtop
+.endif
+.endif
GNU_CONFIGURE= YES
USE_X11BASE= YES
diff --git a/x11/gnome/Makefile b/x11/gnome/Makefile
index 1024db1f4f6..5cb392c9b5d 100644
--- a/x11/gnome/Makefile
+++ b/x11/gnome/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2000/06/05 20:57:41 tron Exp $
+# $NetBSD: Makefile,v 1.11 2000/06/24 03:30:27 danw Exp $
DISTNAME= gnome-1.2.0
CATEGORIES= x11 gnome
@@ -26,10 +26,17 @@ DEPENDS+= gnome-utils>=1.0.51:../../misc/gnome-utils
DEPENDS+= gnumeric>=0.52:../../math/gnumeric
DEPENDS+= gtk-->=1.0.3:../gtk--
DEPENDS+= gtk-engines>=0.8:../gtk-engines
-DEPENDS+= gtop>=1.0.9:../../sysutils/gtop
DEPENDS+= xchat>=1.4.1:../../net/xchat
DEPENDS+= xscreensaver-gnome>=3.24:../xscreensaver-gnome
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "NetBSD")
+.if (${MACHINE_ARCH} == arm32) || (${MACHINE_ARCH} == i386) || \
+ (${MACHINE_ARCH} == m68k)
+DEPENDS+= gtop>=1.0.9:../../sysutils/gtop
+.endif
+.endif
+
USE_X11= yes
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes