summaryrefslogtreecommitdiff
path: root/sysutils/aperture
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-05-11 11:17:55 +0000
committeragc <agc@pkgsrc.org>2000-05-11 11:17:55 +0000
commitcc4c589ad818d6b0b848f12a41f7b5cfb07daa60 (patch)
tree68e605d44bd63672a37359ba077c2531c32596e0 /sysutils/aperture
parent1faf8c57a1ce49f7ac4b0bd33d69da79afd12b38 (diff)
downloadpkgsrc-cc4c589ad818d6b0b848f12a41f7b5cfb07daa60.tar.gz
Only define the .BEGIN target if we're on NetBSD
Diffstat (limited to 'sysutils/aperture')
-rw-r--r--sysutils/aperture/Makefile6
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"