pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/plex86 Do not override BSDSRCDIR's value bef...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b376eb7f3ac
branches:  trunk
changeset: 461830:0b376eb7f3ac
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Sep 22 11:56:19 2003 +0000

description:
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:

 emulators/plex86/Makefile |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r a72d51d7f2c9 -r 0b376eb7f3ac emulators/plex86/Makefile
--- a/emulators/plex86/Makefile Mon Sep 22 11:29:39 2003 +0000
+++ b/emulators/plex86/Makefile Mon Sep 22 11:56:19 2003 +0000
@@ -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 @@
 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."



Home | Main Index | Thread Index | Old Index