Skip to content

Commit

Permalink
Set the default value of WRKSRC in a slightly different way (from Hubert
Browse files Browse the repository at this point in the history
Feyrer).
  • Loading branch information
agc committed Sep 10, 2001
1 parent 94c1cbd commit 28497be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.806 2001/09/10 02:46:15 kei Exp $
# $NetBSD: bsd.pkg.mk,v 1.807 2001/09/10 09:56:05 agc Exp $
#
# This file is in the public domain.
#
Expand Down Expand Up @@ -478,14 +478,13 @@ WRKDIR_BASENAME?= work
.endif

WRKDIR?= ${BUILD_DIR}/${WRKDIR_BASENAME}
WRKSRC?= ${WRKDIR}/${DISTNAME}

.if defined(NO_WRKSUBDIR)
.BEGIN:
@${ECHO_MSG} 'NO_WRKSUBDIR has been deprecated - please replace it with an explicit'
@${ECHO_MSG} 'assignment of WRKSRC= $${WRKDIR}'
@${FALSE}
.else # NO_WRKSUBDIR
WRKSRC?= ${WRKDIR}/${DISTNAME}
.endif # NO_WRKSUBDIR

# A few aliases for *-install targets
Expand Down

0 comments on commit 28497be

Please sign in to comment.