summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2015-03-01 20:03:52 +0000
committerjoerg <joerg>2015-03-01 20:03:52 +0000
commit21e4b0267dc8ad8b3ddcb30131940ab9f0f3b871 (patch)
tree9db55906a83929f5655828d6399f6f516355ba2a
parent9eaef3ba1b807af4179dc503bbc45aff20b5a72f (diff)
downloadpkgsrc-21e4b0267dc8ad8b3ddcb30131940ab9f0f3b871.tar.gz
Unbreak build for non-OSX users.
-rw-r--r--sysutils/top/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/top/Makefile b/sysutils/top/Makefile
index a1205416135..1b3caac4ef1 100644
--- a/sysutils/top/Makefile
+++ b/sysutils/top/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2015/02/11 14:04:16 pho Exp $
+# $NetBSD: Makefile,v 1.40 2015/03/01 20:03:52 joerg Exp $
DISTNAME= top-3.6.1
PKGREVISION= 1
@@ -22,7 +22,7 @@ BROKEN_ON_PLATFORM+= Darwin-[1-9][0-9]*-*
.include "../../mk/bsd.prefs.mk"
-.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+.if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
# ${WRKSRC}/configure emits an error saying "macosx module
# unsupported" without this option.
CONFIGURE_ARGS+= --with-module=macosx