[Midnightbsd-cvs] mports [15524] trunk/Mk/components/options.mk: do not use options files or make.conf stuff when doing package building!

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 26 19:14:13 EDT 2013


Revision: 15524
          http://svnweb.midnightbsd.org/mports/?rev=15524
Author:   laffer1
Date:     2013-09-26 19:14:12 -0400 (Thu, 26 Sep 2013)
Log Message:
-----------
do not use options files or make.conf stuff when doing package building!

Modified Paths:
--------------
    trunk/Mk/components/options.mk

Modified: trunk/Mk/components/options.mk
===================================================================
--- trunk/Mk/components/options.mk	2013-09-26 17:10:34 UTC (rev 15523)
+++ trunk/Mk/components/options.mk	2013-09-26 23:14:12 UTC (rev 15524)
@@ -147,6 +147,7 @@
 .  include "${OPTIONSFILE}.local"
 .  endif
 
+.if !defined(PACKAGE_BUILDING)
 ### convert WITH and WITHOUT found in make.conf or reloaded from old optionsfile
 .for opt in ${ALL_OPTIONS}
 .if defined(WITH_${opt})
@@ -172,6 +173,7 @@
 .undef opt
 
 .endif
+.endif
 
 ## Cmdline always win over the rest
 .for opt in ${WITH}



More information about the Midnightbsd-cvs mailing list