pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/libgtop remove a check which allows only sele...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2879dcf9cfe7
branches:  trunk
changeset: 539976:2879dcf9cfe7
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue Mar 18 17:46:27 2008 +0000

description:
remove a check which allows only selected NetBSD archs tu build.
There is no machine dependency in the NetBSD support code, and even
if there is some left, a compiler error message is more helpful than
"make" rejecting it from the beginnng.
in response to PR pkg/38252 by Stuart Shelton

diffstat:

 sysutils/libgtop/Makefile |  15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diffs (30 lines):

diff -r 2329a2212666 -r 2879dcf9cfe7 sysutils/libgtop/Makefile
--- a/sysutils/libgtop/Makefile Tue Mar 18 16:35:52 2008 +0000
+++ b/sysutils/libgtop/Makefile Tue Mar 18 17:46:27 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/03/12 21:43:30 drochner Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/18 17:46:27 drochner Exp $
 
 DISTNAME=              libgtop-2.20.2
 CATEGORIES=            sysutils gnome
@@ -40,20 +40,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == NetBSD
-
 CONFIGURE_ENV+=        fu_cv_sys_mounted_getmntinfo=yes
-
-.  if (${MACHINE_ARCH} != alpha) && \
-       (${MACHINE_ARCH} != arm) && (${MACHINE_ARCH} != arm32) && \
-       (${MACHINE_ARCH} != i386) && (${MACHINE_ARCH} != m68k) && \
-       (${MACHINE_ARCH} != mipsel) && (${MACHINE_ARCH} != powerpc) && \
-       (${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64) && \
-       (${MACHINE_ARCH} != x86_64)
-PKG_FAIL_REASON+=      "${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
-PKG_FAIL_REASON+=      "Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
-PKG_FAIL_REASON+=      "and update ${WRKSRC}/sysdeps/freebsd/prockernel.c appropriately."
-PKG_FAIL_REASON+=      "(More information can be found in libgtop.info.)"
-.  endif
 .endif
 
 .if ${OPSYS} == "Linux"



Home | Main Index | Thread Index | Old Index