summaryrefslogtreecommitdiff
path: root/devel/libgtop/Makefile
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2000-06-24 16:40:57 +0000
committerdanw <danw@pkgsrc.org>2000-06-24 16:40:57 +0000
commit600dacad68caab91a1229516dd79a1ebd6c1cc14 (patch)
tree89acaa2fd6cd08e76fb12bf0e4f92c2eb298c1d9 /devel/libgtop/Makefile
parent682e25d32dd9ee9d5a20724fcb29d4715146964c (diff)
downloadpkgsrc-600dacad68caab91a1229516dd79a1ebd6c1cc14.tar.gz
add support for powerpc, and change the error you get on unsupported
platforms to explain how to fix things
Diffstat (limited to 'devel/libgtop/Makefile')
-rw-r--r--devel/libgtop/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile
index adb4262c050..ca4addce1e3 100644
--- a/devel/libgtop/Makefile
+++ b/devel/libgtop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2000/06/21 00:37:20 jlam Exp $
+# $NetBSD: Makefile,v 1.37 2000/06/24 16:40:57 danw Exp $
DISTNAME= libgtop-1.0.9
CATEGORIES= devel gnome
@@ -12,7 +12,18 @@ DEPENDS+= gettext-0.10.*:../../devel/gettext
DEPENDS+= gnome-libs-*:../../x11/gnome-libs
DEPENDS+= guile-[0-9]*:../../lang/guile
-ONLY_FOR_PLATFORM= NetBSD-*-arm32 NetBSD-*-i386 NetBSD-*-m68k
+NOT_FOR_PLATFORM= SunOS
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == NetBSD
+.if (${MACHINE_ARCH} != arm32) && (${MACHINE_ARCH} != i386) && \
+ (${MACHINE_ARCH} != m68k) && (${MACHINE_ARCH} != powerpc)
+IGNORE= "has not yet been ported to ${MACHINE_ARCH}."
+IGNORE+= "Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
+IGNORE+= "and update patches/patch-al appropriately."
+IGNORE+= "(More information can be found in libgtop.info.)"
+.endif
+.endif
GNU_CONFIGURE= # defined
USE_X11BASE= # defined