diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-09-22 11:56:19 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-09-22 11:56:19 +0000 |
commit | 74dfaa3ca239849dcf08e78cdc2bce720be3434a (patch) | |
tree | a24eb818afad49fb1fbb2897f8ff1128fc0749cf /emulators | |
parent | fab713ecdbd0b9e733628f50a5690d6b4818d532 (diff) | |
download | pkgsrc-74dfaa3ca239849dcf08e78cdc2bce720be3434a.tar.gz |
Do not override BSDSRCDIR's value before including bsd.prefs.mk. This breaks
on systems where the variable is defined in mk.conf using the ?= operator.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/plex86/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/emulators/plex86/Makefile b/emulators/plex86/Makefile index 49834348ed0..c491899399b 100644 --- a/emulators/plex86/Makefile +++ b/emulators/plex86/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2003/07/17 21:35:42 grant Exp $ +# $NetBSD: Makefile,v 1.25 2003/09/22 11:56:19 jmmv Exp $ DISTNAME= plex86-20010106 PKGNAME= ${DISTNAME:S/-/-0./} @@ -23,13 +23,10 @@ RESTRICTED= CPU-specific binary code NO_BIN_ON_CDROM=${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} -# to override <bsd.own.mk>, MUST be set this way BEFORE bsd.prefs.mk -BSDSRCDIR?= /nonexistent - .include "../../mk/bsd.prefs.mk" pre-extract: -.if ${BSDSRCDIR} == "/nonexistent" +.if !defined(BSDSRCDIR) @${ECHO_MSG} "Please set BSDSRCDIR in /etc/mk.conf, pointing it" @${ECHO_MSG} "to a directory that contains sources that match" @${ECHO_MSG} "your currently running system (esp. kernel), e.g." |