From cc4c589ad818d6b0b848f12a41f7b5cfb07daa60 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 11 May 2000 11:17:55 +0000 Subject: Only define the .BEGIN target if we're on NetBSD --- sysutils/aperture/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysutils') 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" -- cgit v1.2.3