[MacPorts] #47911: ImageMagick, p5-perlmagick: update to 6.9.2-0 (was: ImageMagick and p5-perlmagick: update to version 6.9.1-4)

MacPorts noreply at macports.org
Sun Aug 16 18:10:50 PDT 2015


#47911: ImageMagick, p5-perlmagick: update to 6.9.2-0
----------------------------------------+--------------------------
  Reporter:  devans@…                   |      Owner:  ryandesign@…
      Type:  update                     |     Status:  assigned
  Priority:  Normal                     |  Milestone:
 Component:  ports                      |    Version:  2.3.3
Resolution:                             |   Keywords:
      Port:  ImageMagick p5-perlmagick  |
----------------------------------------+--------------------------
Changes (by ryandesign@…):

 * cc: eric.dalquist@… (added)


Comment:

 Duplicate #48589 has a patch to update to 6.9.2-0, but as mentioned
 [comment:1 above], because the version of the ImageMagick C++ library has
 increased, the revision of all ports linking with the ImageMagick C++
 library need to be increased simultaneously to rebuild them.

 -----

 I had been avoiding updating to anything newer than 6.9.1-4 because
 6.9.1-5 failed to build with the universal variant:

 {{{
 clang: error: no such file or directory: 'i386'
 }}}

 because the build system incorrectly decided to remove the second `-arch`
 flag from `-arch x86_64 -arch i386` and instead use `-arch x86_64 i386`.

 But now that I look into it again, this problem appears to have been
 corrected in 6.9.1-8 and 6.9.2-0 works as well. Confirmed the cause of
 this was the following block added to the configure script in 6.9.1-5
 (without mention in ChangeLog) and removed in 6.9.1-8 (without mention in
 ChangeLog):

 {{{
 #
 # 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47911#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list