diff options
author | kim <kim> | 1999-03-04 07:23:09 +0000 |
---|---|---|
committer | kim <kim> | 1999-03-04 07:23:09 +0000 |
commit | e4bd027b24e496cb02007bde6c33f41c73beb447 (patch) | |
tree | 0c1609fd7da50ae776f7195fce740f6124ddb313 /pkgtools | |
parent | 66fa6b5d9d610682fd369ca58638bcaad6c30e54 (diff) | |
download | pkgsrc-e4bd027b24e496cb02007bde6c33f41c73beb447.tar.gz |
Storing ${.CURDIR} in a binary is not good for automounted paths.
PKGSRCDIR can now be set in /etc/mk.conf to remedy this.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 1071bcd9cce..558fcd03b23 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1999/02/18 12:27:27 frueauf Exp $ +# $NetBSD: Makefile,v 1.7 1999/03/04 07:23:09 kim Exp $ # DISTNAME= pkglint-1.68 @@ -17,7 +17,8 @@ NO_CHECKSUM= yes NO_PATCH= yes NO_CONFIGURE= yes -MAKE_ENV= PKGSRCDIR=${.CURDIR}/../.. +PKGSRCDIR?= ${.CURDIR}/../.. +MAKE_ENV= PKGSRCDIR=${PKGSRCDIR} do-build: ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ |