PERFORCE change 180558 for review

Andrius Morkunas andrius at FreeBSD.org
Tue Jul 6 18:51:26 UTC 2010


http://p4web.freebsd.org/@@180558?ac=10

Change 180558 by andrius at klevas on 2010/07/06 18:50:53

	Add a way to disable PORTS_CC.
	
	In some weird and not so weird cases, PORTS_CC is not desired
	and/or won't work.

Affected files ...

.. //depot/projects/soc2010/clangports/ports/Mk/bsd.compiler.mk#4 edit

Differences ...

==== //depot/projects/soc2010/clangports/ports/Mk/bsd.compiler.mk#4 (text+ko) ====

@@ -1,3 +1,6 @@
+# Check if PORTS_CC is allowed.
+.if !defined(NO_PORTS_CC)
+
 # Set the defaults
 PORTS_CC?=	gcc
 # PORTS_CXX should only be set if PORTS_CC is neither gcc nor clang
@@ -52,3 +55,5 @@
 CC=			${PORTS_CC}
 CXX=		${PORTS_CXX}
 .endif
+
+.endif # NO_PORTS_CC


More information about the p4-projects mailing list