cvs commit: src/share/mk bsd.port.mk

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Fri Apr 8 09:39:24 PDT 2005


joerg       2005/04/08 09:38:31 PDT

DragonFly src repository

  Modified files:
    share/mk             bsd.port.mk 
  Log:
  Don't just undefine USE_RC_SUBR, because it does define the list
  of rc scripts if it is defined and not YES. We didn't undefine USE_RCORDER,
  which pulled the rc_subr port in.
  
  Fix this by:
  (a) save the old value or USE_RCORDER and USE_RC_SUBR to _DF_*.
  (b) include the install-rc-script target from ports/Mk/bsd.port.mk,
  but use _DF_* for the variables in the actual code.
  (c) add _DF_* to the SUB_FILES list and add RC_SUBR to SUB_LIST.
  (d) undefine USE_RC_SUBR and USE_RCORDER afterwards.
  
  Problem-reported-by: Erik P. Skaalerud <erik at xxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.30      +42 -1     src/share/mk/bsd.port.mk


http://www.dragonflybsd.org/cvsweb/src/share/mk/bsd.port.mk.diff?r1=1.29&r2=1.30&f=u





More information about the Commits mailing list