diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-01 20:03:52 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-01 20:03:52 +0000 |
commit | 044509507f4e38959cdac186dea600582438be74 (patch) | |
tree | 9db55906a83929f5655828d6399f6f516355ba2a /sysutils/top | |
parent | ba21c8035161d3aaed12514ee853fce2c054406c (diff) | |
download | pkgsrc-044509507f4e38959cdac186dea600582438be74.tar.gz |
Unbreak build for non-OSX users.
Diffstat (limited to 'sysutils/top')
-rw-r--r-- | sysutils/top/Makefile | 4 |
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 |