diff options
author | agc <agc@pkgsrc.org> | 2000-05-11 11:17:55 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-05-11 11:17:55 +0000 |
commit | cc4c589ad818d6b0b848f12a41f7b5cfb07daa60 (patch) | |
tree | 68e605d44bd63672a37359ba077c2531c32596e0 /sysutils | |
parent | 1faf8c57a1ce49f7ac4b0bd33d69da79afd12b38 (diff) | |
download | pkgsrc-cc4c589ad818d6b0b848f12a41f7b5cfb07daa60.tar.gz |
Only define the .BEGIN target if we're on NetBSD
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/aperture/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/aperture/Makefile b/sysutils/aperture/Makefile index a12fe758788..77aa1dc6717 100644 --- a/sysutils/aperture/Makefile +++ b/sysutils/aperture/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/02/05 07:11:47 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2000/05/11 11:17:55 agc Exp $ DISTNAME= apNetBSD PKGNAME= aperture-2.0 @@ -16,6 +16,9 @@ NO_CONFIGURE= yes ONLY_FOR_PLATFORM= NetBSD-*-i386 +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" .BEGIN: @if [ ! -f /sys/lib/libkern/libkern.h ]; then \ ${ECHO_MSG} "==================================================="; \ @@ -31,6 +34,7 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 ${ECHO_MSG} "==================================================="; \ ${FALSE}; \ fi +.endif .include "../../mk/bsd.pkg.mk" |