diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-04-25 22:42:16 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-04-25 22:42:16 +0000 |
commit | 6f4f42ab4d209ebf99752c34d70ac3f4240f0e73 (patch) | |
tree | af38dfd4d7ea64bc3da2866adeb2b165f951d883 /mk/bsd.pkg.mk | |
parent | 15afaa57e4dc066a7d411bb0c11d86d8247b89fb (diff) | |
download | pkgsrc-6f4f42ab4d209ebf99752c34d70ac3f4240f0e73.tar.gz |
Make PORTSDIR still be an absolute patch, but don't require it to
be hardcoded to /usr/pkgsrc. Use ${.CURDIR} instead. Inspired by
Jaromir Dolecek's PR 5360.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 22008c0564d..6108b9a0b24 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $NetBSD: bsd.pkg.mk,v 1.77 1998/04/25 00:01:21 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.78 1998/04/25 22:42:16 hubertf Exp $ # # This file is derived from bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. @@ -42,7 +42,8 @@ NetBSD_MAINTAINER= agc@netbsd.org # "FreeBSD," "NetBSD," or "OpenBSD" as appropriate. # PORTSDIR - The root of the ports tree. Defaults: # FreeBSD/OpenBSD: /usr/ports -# NetBSD: /usr/pkgsrc +# NetBSD: current pkgsrc-tree's root (most +# likely /usr/pkgsrc) # DISTDIR - Where to get gzip'd, tarballed copies of original sources # (default: ${PORTSDIR}/distfiles). # PREFIX - Where to install things in general Defaults: @@ -366,7 +367,7 @@ DEF_UMASK?= 0022 # tree we are and thus can't go relative. They can, of course, be overridden # by individual Makefiles or local system make configuration. .if (${OPSYS} == "NetBSD") -PORTSDIR?= /usr/pkgsrc +PORTSDIR?= ${.CURDIR}/../.. LOCALBASE?= ${DESTDIR}/usr/pkg .else PORTSDIR?= /usr/ports |