Date: Tue, 24 Sep 2013 21:01:07 +0000 (UTC) From: Christian Weisgerber <naddy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328193 - head/Mk Message-ID: <201309242101.r8OL17Y5047051@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309242101.r8OL17Y5047051>