[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.25 and 1.26

version 1.25, 1998/02/19 20:41:02 version 1.26, 1998/03/27 03:30:43
Line 115 
Line 115 
 # MTREE_FILE    - The name of the mtree file (default: /etc/mtree/BSD.x11.dist  # MTREE_FILE    - The name of the mtree file (default: /etc/mtree/BSD.x11.dist
 #                                 if USE_IMAKE or USE_X11 is set, /etc/mtree/BSD.local.dist  #                                 if USE_IMAKE or USE_X11 is set, /etc/mtree/BSD.local.dist
 #                                 otherwise.)  #                                 otherwise.)
   # COMES_WITH    - The first version that a port was made part of the
   #                                 standard OpenBSD distribution.  If the current OpenBSD
   #                                 version is >= this version then a notice will be
   #                                 displayed instead the port being generated.
 #  #
 # NO_BUILD              - Use a dummy (do-nothing) build target.  # NO_BUILD              - Use a dummy (do-nothing) build target.
 # NO_CONFIGURE  - Use a dummy (do-nothing) configure target.  # NO_CONFIGURE  - Use a dummy (do-nothing) configure target.
Line 271 
Line 275 
 # 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)  # Get the operating system type
   OPSYS!= uname -s
   
   .if defined(COMES_WITH)
   OS_VER!=        uname -r
   .if ( ${OS_VER} >= ${COMES_WITH} )
   __NOT_NEEDED!= basename ${.CURDIR}
   .endif
   .endif
   .if defined(__NOT_NEEDED)
   fetch fetch-list extract patch clean clean-depends configure build install reinstall package describe checkpatch checksum makesum all:
           @echo "${__NOT_NEEDED} comes with ${OPSYS} as of release ${COMES_WITH}
   .elif defined(ONLY_FOR_ARCHS)
 .for __ARCH in ${ONLY_FOR_ARCHS}  .for __ARCH in ${ONLY_FOR_ARCHS}
 .if ${MACHINE} == "${__ARCH}"  .if ${MACHINE} == "${__ARCH}"
 __ARCH_OK=      1  __ARCH_OK=      1
Line 291 
Line 307 
   
 # Get the architecture  # Get the architecture
 ARCH!=  uname -m  ARCH!=  uname -m
   
 # Get the operating system type  
 OPSYS!= uname -s  
   
 .if exists(${.CURDIR}/../Makefile.inc)  .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"  .include "${.CURDIR}/../Makefile.inc"

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26