[BACK]Return to bsd.port.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.port.mk between version 1.28 and 1.29

version 1.28, 1998/04/06 21:46:00 version 1.29, 1998/04/28 19:19:29
Line 278 
Line 278 
 # NEVER override the "regular" targets unless you want to open  # NEVER override the "regular" targets unless you want to open
 # a major can of worms.  # a major can of worms.
   
 .if defined(ONLY_FOR_ARCHS)  
 .for __ARCH in ${ONLY_FOR_ARCHS}  
 .if ${MACHINE} == "${__ARCH}"  
 __ARCH_OK=      1  
 .endif  
 .endfor  
 .else  
 __ARCH_OK=      1  
 .endif  
   
 .if !defined(__ARCH_OK)  
 .MAIN:  all  
   
 fetch fetch-list extract patch clean clean-depends configure build install reinstall package describe checkpatch checksum makesum all:  
         @echo "This port is only for ${ONLY_FOR_ARCHS},"  
         @echo "and you are running ${MACHINE}."  
 .else  
   
 # Get the operating system type  # Get the operating system type
 OPSYS!= uname -s  OPSYS!= uname -s
   
Line 852 
Line 834 
 IGNORE= "uses X11, but ${X11BASE} not found"  IGNORE= "uses X11, but ${X11BASE} not found"
 .elif defined(BROKEN)  .elif defined(BROKEN)
 IGNORE= "is marked as broken: ${BROKEN}"  IGNORE= "is marked as broken: ${BROKEN}"
   .elif defined(ONLY_FOR_ARCHS)
   .for __ARCH in ${ONLY_FOR_ARCHS}
   .if ${MACHINE} == "${__ARCH}"
   __ARCH_OK=      1
   .endif
   .endfor
   .if !defined(__ARCH_OK)
   IGNORE= "is only for ${ONLY_FOR_ARCHS}, not ${MACHINE}"
   .endif
 .elif defined(COMES_WITH)  .elif defined(COMES_WITH)
 OS_VER!=        uname -r  OS_VER!=        uname -r
 .if ( ${OS_VER} >= ${COMES_WITH} )  .if ( ${OS_VER} >= ${COMES_WITH} )
Line 1875 
Line 1866 
 tags:  tags:
 .endif  .endif
   
 .endif  

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29