pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/top Mark Darwin 9 and later as broken
details: https://anonhg.NetBSD.org/pkgsrc/rev/15f7263fe2eb
branches: trunk
changeset: 646577:15f7263fe2eb
user: pho <pho%pkgsrc.org@localhost>
date: Wed Feb 11 14:04:16 2015 +0000
description:
Mark Darwin 9 and later as broken
${WRKSRC}/machine/m_macosx.c uses kvm_* interfaces, which have been
dropped since Darwin 9. I've not tested it on Darwin <= 8 though.
diffstat:
sysutils/top/Makefile | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r e47607b7c534 -r 15f7263fe2eb sysutils/top/Makefile
--- a/sysutils/top/Makefile Wed Feb 11 14:01:05 2015 +0000
+++ b/sysutils/top/Makefile Wed Feb 11 14:04:16 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2012/10/23 19:51:27 asau Exp $
+# $NetBSD: Makefile,v 1.39 2015/02/11 14:04:16 pho Exp $
DISTNAME= top-3.6.1
PKGREVISION= 1
@@ -15,6 +15,19 @@
CONFIGURE_ENV+= SET_GROUP=${BINGRP}
CONFIGURE_ENV+= SET_MODE=${BINMODE}
+# ${WRKSRC}/machine/m_macosx.c uses kvm_* interfaces, which have been
+# dropped since Darwin 9.
+BROKEN_ON_PLATFORM+= Darwin-9.*-*
+BROKEN_ON_PLATFORM+= Darwin-[1-9][0-9]*-*
+
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+# ${WRKSRC}/configure emits an error saying "macosx module
+# unsupported" without this option.
+CONFIGURE_ARGS+= --with-module=macosx
+.endif
+
post-extract:
${CP} ${FILESDIR}/m_dragonfly.c ${WRKSRC}/machine
Home |
Main Index |
Thread Index |
Old Index