diff options
author | tron <tron@pkgsrc.org> | 1999-11-14 18:57:30 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-11-14 18:57:30 +0000 |
commit | b95475f6889ba0bc3a0f500d9af541cc8c60ffe3 (patch) | |
tree | dd0e668b23be97cc4ca19abd550d2f99149ad129 /x11/gnome-core | |
parent | 5e1b5bcb0d3d9f3088df636572297a4c14e1aa66 (diff) | |
download | pkgsrc-b95475f6889ba0bc3a0f500d9af541cc8c60ffe3.tar.gz |
Only depend on "libgtop" package on platforms supported by it.
Diffstat (limited to 'x11/gnome-core')
-rw-r--r-- | x11/gnome-core/Makefile | 12 |
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" |