[BACK]Return to bsd.pkg.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/mk/bsd.pkg.mk between version 1.1540.2.16 and 1.1540.2.17

version 1.1540.2.16, 2005/01/24 19:10:21 version 1.1540.2.17, 2005/01/24 19:24:37
Line 25  _PKG_PHASES_ALL= fetch checksum ${_PKG_P
Line 25  _PKG_PHASES_ALL= fetch checksum ${_PKG_P
 _PKG_PHASES_WRKDIR=     depends extract patch tools wrapper \  _PKG_PHASES_WRKDIR=     depends extract patch tools wrapper \
                         configure build test install package                          configure build test install package
   
 # PATH is recalculated below, so save its original incarnation here.  
 .if !defined(_PATH_ORIG)  
 _PATH_ORIG:=            ${PATH}  
 MAKEFLAGS+=             _PATH_ORIG=${_PATH_ORIG:Q}  
 .endif  
   
 ############################################################################  ############################################################################
 # Transform package Makefile variables and set defaults  # Transform package Makefile variables and set defaults
 ############################################################################  ############################################################################
Line 1585  ${def:C/=.*$//}= ${_${def:C/=.*$//}_CMD:
Line 1579  ${def:C/=.*$//}= ${_${def:C/=.*$//}_CMD:
 .  endfor  .  endfor
 .endif  .endif
   
 PREPEND_PATH?=          # empty  .if !defined(_PATH_ORIG)
 .if !empty(PREPEND_PATH)  _PATH_ORIG:=            ${PATH}
   MAKEFLAGS+=             _PATH_ORIG=${_PATH_ORIG:Q}
   
 # This is very Special.  Because PREPEND_PATH is set with += in reverse order,  # This is very Special.  Because PREPEND_PATH is set with += in reverse order,
 # the awk expression reverses the order again (since bootstrap bmake doesn't  # the awk expression reverses the order again (since bootstrap bmake doesn't
 # yet support the :[-1..1] construct).  # yet support the :[-1..1] construct).
 _PATH_CMD=              ${ECHO} `${ECHO} ${PREPEND_PATH:Q} | ${AWK} '{for (i=NF;i>0;i--) print $$i}'`:${_PATH_ORIG} | ${TR} ' ' :  _PATH_CMD=              ${ECHO} `${ECHO} ${PREPEND_PATH:Q} | ${AWK} '{ORS=":";for (i=NF;i>0;i--) print $$i}'`${_PATH_ORIG}
 PATH=                   ${_PATH_CMD:sh} # DOES NOT use :=, to defer evaluation  PATH=                   ${_PATH_CMD:sh} # DOES NOT use :=, to defer evaluation
 .endif  .endif
   

Legend:
Removed from v.1.1540.2.16  
changed lines
  Added in v.1.1540.2.17

CVSweb <webmaster@jp.NetBSD.org>