svn commit: r328193 - head/Mk
Christian Weisgerber
naddy at FreeBSD.org
Tue Sep 24 21:01:07 UTC 2013
Author: naddy
Date: Tue Sep 24 21:01:06 2013
New Revision: 328193
URL: http://svnweb.freebsd.org/changeset/ports/328193
Log:
If ${opt}_CPPFLAGS is defined, its value will be appended to CPPFLAGS
depending on the status of option ${opt}.
Approved by: bapt
Modified:
head/Mk/bsd.options.mk
Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk Tue Sep 24 20:58:58 2013 (r328192)
+++ head/Mk/bsd.options.mk Tue Sep 24 21:01:06 2013 (r328193)
@@ -93,9 +93,9 @@
# ${opt}_CMAKE_OFF When option is disabled, it will add its content to
# the CMAKE_ARGS.
#
-# For each of CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES,
-# defining ${opt}_${variable} will add it to the actual variable when the
-# option is enabled.
+# For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES
+# DISTFILES, defining ${opt}_${variable} will add it to the actual variable
+# when the option is enabled.
#
# For each of the depends target PKG EXTRACT PATCH FETCH BUILD LIB RUN,
# defining ${opt}_${deptype}_DEPENDS will add it to the actual dependency when
@@ -392,7 +392,7 @@ CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ON}
. if defined(${opt}_CMAKE_ON)
CMAKE_ARGS+= ${${opt}_CMAKE_ON}
. endif
-. for flags in CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES
+. for flags in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES
. if defined(${opt}_${flags})
${flags}+= ${${opt}_${flags}}
. endif
More information about the svn-ports-all
mailing list