DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Apr 2005 09:38:31 -0700 (PDT)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]