diff options
author | jmmv <jmmv> | 2003-09-22 11:56:19 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-09-22 11:56:19 +0000 |
commit | 244b13e1f0a6f502aaffecdcda14fc27d4f99ab0 (patch) | |
tree | a24eb818afad49fb1fbb2897f8ff1128fc0749cf /emulators | |
parent | ae03f130f1e4984979e53e801c1b0f054387cbf4 (diff) | |
download | pkgsrc-244b13e1f0a6f502aaffecdcda14fc27d4f99ab0.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." |