mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 17:00:49 +01:00
Add support for NO_WRKDIR.
This commit is contained in:
parent
f877e878c9
commit
fcd2dde4e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4533
@ -3,7 +3,7 @@
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.67 1994/11/16 23:14:22 jmz Exp $
|
||||
# $Id: bsd.port.mk,v 1.68 1994/11/17 00:18:28 jkh Exp $
|
||||
#
|
||||
# Please view me with 4 column tabs!
|
||||
|
||||
@ -49,6 +49,8 @@
|
||||
# NO_PACKAGE - Use a dummy (do-nothing) package target.
|
||||
# NO_INSTALL - Use a dummy (do-nothing) install target.
|
||||
# NO_WRKSUBDIR - Assume port unpacks directly into ${WRKDIR}.
|
||||
# NO_WRKDIR - There's no work directory at all; port does this someplace
|
||||
# else.
|
||||
# NO_DEPENDS - Don't verify build of dependencies.
|
||||
# USE_GMAKE - Says that the port uses gmake.
|
||||
# USE_IMAKE - Says that the port uses imake.
|
||||
@ -97,7 +99,11 @@ PORTSDIR?= ${DESTDIR}/usr/ports
|
||||
PREFIX?= /usr/local
|
||||
DISTDIR?= ${PORTSDIR}/distfiles
|
||||
PACKAGES?= ${PORTSDIR}/packages
|
||||
.if !defined(NO_WRKDIR)
|
||||
WRKDIR?= ${.CURDIR}/work
|
||||
.else
|
||||
WRKDIR?= ${.CURDIR}
|
||||
.endif
|
||||
.if defined(NO_WRKSUBDIR)
|
||||
WRKSRC?= ${WRKDIR}
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user