[Midnightbsd-cvs] mports: bsd.mport.mk: add EXTENSIONS variable, for loading extensions

ctriv at midnightbsd.org ctriv at midnightbsd.org
Wed Oct 29 15:28:36 EDT 2008


Log Message:
-----------
add EXTENSIONS variable, for loading extensions only.  No extension uses
this as an instruction to do something, so this is only for loading the
extension.  Usage: EXTENSIONS=	qt perl5 python

Modified Files:
--------------
    mports/Mk:
        bsd.mport.mk (r1.125 -> r1.126)

-------------- next part --------------
Index: bsd.mport.mk
===================================================================
RCS file: /home/cvs/mports/Mk/bsd.mport.mk,v
retrieving revision 1.125
retrieving revision 1.126
diff -L Mk/bsd.mport.mk -L Mk/bsd.mport.mk -u -r1.125 -r1.126
--- Mk/bsd.mport.mk
+++ Mk/bsd.mport.mk
@@ -1300,6 +1300,9 @@
 _LOAD_KDE4_EXT=		yes
 .endif
 
+.for EXT in ${EXTENSIONS}
+_LOAD_${EXT:U}_EXT=	yes
+.endfor
 
 # This is the order that we used before the extensions where refactored. 
 # in the future if things could be fixed to work when loaded alphabetacally, then


More information about the Midnightbsd-cvs mailing list