Revision: 76405 http://trac.macports.org/changeset/76405 Author: ryandesign@macports.org Date: 2011-02-22 01:34:14 -0800 (Tue, 22 Feb 2011) Log Message: ----------- pstoedit: fix universal and non-default-build_arch builds; see #28505 Modified Paths: -------------- trunk/dports/graphics/pstoedit/Portfile Added Paths: ----------- trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff Modified: trunk/dports/graphics/pstoedit/Portfile =================================================================== --- trunk/dports/graphics/pstoedit/Portfile 2011-02-22 08:59:24 UTC (rev 76404) +++ trunk/dports/graphics/pstoedit/Portfile 2011-02-22 09:34:14 UTC (rev 76405) @@ -26,8 +26,11 @@ port:zlib depends_run port:ghostscript -patchfiles patch-src__cppcomp.h +patchfiles patch-src__cppcomp.h \ + patch-configure.ac.diff +use_autoreconf yes + configure.args --without-emf --without-swf configure.cppflags-append "-Wno-long-long" Added: trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff =================================================================== --- trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff (rev 0) +++ trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff 2011-02-22 09:34:14 UTC (rev 76405) @@ -0,0 +1,20 @@ +--- configure.ac.orig 2011-02-22 16:18:07.000000000 +0900 ++++ configure.ac 2011-02-22 14:28:25.000000000 +0900 +@@ -407,14 +407,14 @@ + # need to disable long long warning here because of ImageMagick using it + SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long " + fi +- CXXFLAGS="-g" ++ CXXFLAGS="$CXXFLAGS -g" + elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then + AC_MSG_RESULT([AIX xlC]) +- CXXFLAGS="-D__unix__ -g -+ -I/usr/lpp/xlC/src/nihC/aixinclude" ++ CXXFLAGS="$CXXFLAGS -D__unix__ -g -+ -I/usr/lpp/xlC/src/nihC/aixinclude" + elif test `echo "$CXX" | egrep -c 'cxx$'` -eq 1; then + AC_MSG_RESULT([OSF/1 cxx]) + SPECIAL_CXXFLAGS=-w +- CXXFLAGS=-define_templates ++ CXXFLAGS="$CXXFLAGS -define_templates" + elif test `echo "$CXX" | egrep -c 'CC$'` -eq 1; then + if test "$host_os" = irix5.3; then + AC_MSG_RESULT([Irix 5.3])
participants (1)
-
ryandesign@macports.org