diff options
author | danw <danw@pkgsrc.org> | 2000-06-24 16:40:57 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2000-06-24 16:40:57 +0000 |
commit | 600dacad68caab91a1229516dd79a1ebd6c1cc14 (patch) | |
tree | 89acaa2fd6cd08e76fb12bf0e4f92c2eb298c1d9 /devel | |
parent | 682e25d32dd9ee9d5a20724fcb29d4715146964c (diff) | |
download | pkgsrc-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')
-rw-r--r-- | devel/libgtop/Makefile | 15 | ||||
-rw-r--r-- | devel/libgtop/files/patch-sum | 4 | ||||
-rw-r--r-- | devel/libgtop/patches/patch-al | 4 |
3 files changed, 17 insertions, 6 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 diff --git a/devel/libgtop/files/patch-sum b/devel/libgtop/files/patch-sum index a6f5cfd3430..7439676ff9b 100644 --- a/devel/libgtop/files/patch-sum +++ b/devel/libgtop/files/patch-sum @@ -1,9 +1,9 @@ -$NetBSD: patch-sum,v 1.13 2000/06/21 00:37:21 jlam Exp $ +$NetBSD: patch-sum,v 1.14 2000/06/24 16:40:59 danw Exp $ MD5 (patch-ab) = 1be0d48b1e41fea46ee459a320fb11c7 MD5 (patch-ac) = f84a83914548206edccb11e1f84bf1bf MD5 (patch-ad) = 617e9e681d3576d14d2b9dd4185dfd68 MD5 (patch-ae) = 0a5362d02bbce6f831ad54078b951326 -MD5 (patch-al) = 6f00e7b2002aac3d3dbd0d8584033877 +MD5 (patch-al) = 44db8963c21d47e5f6ff90e23d71fdbf MD5 (patch-an) = 92fc474edf1d713540f7ee0a35a6dbf2 MD5 (patch-ao) = ae10e3b4bd4ee612c4fac54fccbb15a8 diff --git a/devel/libgtop/patches/patch-al b/devel/libgtop/patches/patch-al index 1f5fa8c8da3..7c852905048 100644 --- a/devel/libgtop/patches/patch-al +++ b/devel/libgtop/patches/patch-al @@ -1,4 +1,4 @@ -$NetBSD: patch-al,v 1.7 2000/05/02 00:27:35 fredb Exp $ +$NetBSD: patch-al,v 1.8 2000/06/24 16:41:01 danw Exp $ --- sysdeps/freebsd/prockernel.c.orig Fri Jan 21 17:20:51 2000 +++ sysdeps/freebsd/prockernel.c Mon May 1 18:56:00 2000 @@ -68,7 +68,7 @@ $NetBSD: patch-al,v 1.7 2000/05/02 00:27:35 fredb Exp $ + buf->kstk_esp = (u_int64_t) pcb.pcb_usp; + buf->kstk_eip = (u_int64_t) 0; +#else -+#if defined(__NetBSD__) && defined(__arm32__) ++#if defined(__NetBSD__) && (defined(__arm32__) || defined(__powerpc__)) + buf->kstk_esp = (u_int64_t) pcb.pcb_sp; + buf->kstk_eip = (u_int64_t) 0; +#else |