radhermit 15/07/08 01:39:55 Added: imagemagick-6.9.1.7-cflags.patch Log: Respect CFLAGS (bug #554038). (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path 1.1 media-gfx/imagemagick/files/imagemagick-6.9.1.7-cflags.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/files/imagemagick-6.9.1.7-cflags.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/files/imagemagick-6.9.1.7-cflags.patch?rev=1.1&content-type=text/plain Index: imagemagick-6.9.1.7-cflags.patch =================================================================== https://github.com/ImageMagick/ImageMagick/issues/15 --- ImageMagick-6.9.1-7/configure +++ ImageMagick-6.9.1-7/configure @@ -35563,30 +35563,6 @@ fi -# -# Sanitize output variables (asthetic). -# -for variable in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS PCFLAGS X_CFLAGS; do - sanitize='' - eval value=$`echo $variable` - for component in $value - do - unique=yes - for test_component in $sanitize - do - if test $component = $test_component; then - unique=no - break - fi - done - if test $unique = yes; then - sanitize="$sanitize $component" - fi - done - sanitize=`echo $sanitize | sed -e 's/^ *//g'` - eval ${variable}=\${sanitize} -done - # Pass only user-provided LIBS as "global" libraries LIBS=$USER_LIBS --- ImageMagick-6.9.1-7/configure.ac +++ ImageMagick-6.9.1-7/configure.ac @@ -3706,30 +3706,6 @@ fi AC_SUBST(MAGICK_DEP_LIBS) -# -# Sanitize output variables (asthetic). -# -for variable in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS PCFLAGS X_CFLAGS; do - sanitize='' - eval value=$`echo $variable` - for component in $value - do - unique=yes - for test_component in $sanitize - do - if test $component = $test_component; then - unique=no - break - fi - done - if test $unique = yes; then - sanitize="$sanitize $component" - fi - done - sanitize=`echo $sanitize | sed -e 's/^ *//g'` - eval ${variable}=\${sanitize} -done - # Pass only user-provided LIBS as "global" libraries LIBS=$USER_LIBS
