Diff for /src/share/mk/Attic/bsd.port.mk between versions 1.4 and 1.5

version 1.4, 2003/09/09 16:49:31 version 1.5, 2003/10/12 01:43:59
Line 5  PORTSDIR?= /usr/ports Line 5  PORTSDIR?= /usr/ports
 DFPORTSDIR?=    /usr/dfports  DFPORTSDIR?=    /usr/dfports
 PORTPATH!=      /usr/bin/relpath ${PORTSDIR} ${.CURDIR}  PORTPATH!=      /usr/bin/relpath ${PORTSDIR} ${.CURDIR}
   
.if !exists(${DFPORTSDIR}/${PORTPATH}/Makefile).if !exists(${DFPORTSDIR}/${PORTPATH}/Makefile) || defined(BEFOREPORTMK)
# If the port does not exist in /usr/dports/<portpath> use the original# If the port does not exist in /usr/dfports/<portpath> use the original
# FreeBSD port# FreeBSD port.  Also process as per normal if BEFOREPORTMK is set so
 # any expected variables are set.
 #  #
 .include <bsd.own.mk>  .include <bsd.own.mk>
 .include "${PORTSDIR}/Mk/bsd.port.mk"  .include "${PORTSDIR}/Mk/bsd.port.mk"
   
 .else  .else
   
   .undef BEFOREPORTMK
   .undef AFTERPORTMK
   
 # Otherwise retarget to the DragonFly override port.  # Otherwise retarget to the DragonFly override port.
 #  #
   
Line 43  TARGETS+= reinstall Line 47  TARGETS+= reinstall
 TARGETS+=       install  TARGETS+=       install
 TARGETS+=       tags  TARGETS+=       tags
   
.for __target in ${TARGETS}.BEGIN:
.if !target(${__target}) 
${__target}: 
         @echo "WARNING, USING DRAGONFLY OVERRIDE ${DFPORTSDIR}/${PORTPATH}"          @echo "WARNING, USING DRAGONFLY OVERRIDE ${DFPORTSDIR}/${PORTPATH}"
        cd ${DFPORTSDIR}/${PORTPATH} && ${MAKE} -B ${.TARGET}        cd ${DFPORTSDIR}/${PORTPATH} && ${MAKE} -B ${.TARGETS}
.endif 
.endfor 
   
 .endif  .endif
   

Removed from v.1.4  
changed lines
  Added in v.1.5