[141756] trunk/dports/graphics/pstoedit
ryandesign at macports.org
ryandesign at macports.org
Sat Dec 12 02:52:34 PST 2015
Revision: 141756
https://trac.macports.org/changeset/141756
Author: ryandesign at macports.org
Date: 2015-10-27 13:11:09 -0700 (Tue, 27 Oct 2015)
Log Message:
-----------
pstoedit: don't assume libstdc++ should be used just because it exists (#47275)
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 2015-10-27 19:57:55 UTC (rev 141755)
+++ trunk/dports/graphics/pstoedit/Portfile 2015-10-27 20:11:09 UTC (rev 141756)
@@ -31,9 +31,12 @@
depends_run port:ghostscript
patchfiles patch-config-pstoedit.pc.in.diff \
+ patch-configure.ac.diff \
patch-pkglibdir.diff \
patch-src-cppcomp.h.diff
+use_autoreconf yes
+
configure.args --without-emf \
--without-swf
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 2015-10-27 20:11:09 UTC (rev 141756)
@@ -0,0 +1,21 @@
+Do not make assumptions about which C++ library to use
+--- configure.ac.orig 2014-12-28 14:39:18.000000000 -0600
++++ configure.ac 2015-10-27 14:20:52.000000000 -0500
+@@ -503,17 +503,6 @@
+ [CXX="$enableval $CXX"])
+ AC_SUBST(SPECIAL_CXXFLAGS)
+
+-dnl
+-dnl Standard C++ library and C++ Runtime
+-dnl
+-CXX_RUNTIME_LIB=
+-CXX_STD_LIB=
+-if test x"$GXX" = xyes; then
+- AC_CHECK_LIB(g++,main,CXX_RUNTIME_LIB=-lg++)
+- AC_CHECK_LIB(stdc++,main,CXX_STD_LIB=-lstdc++,,${CXX_RUNTIME_LIB})
+-fi
+-AC_SUBST(CXX_STD_LIB)
+-AC_SUBST(CXX_RUNTIME_LIB)
+
+ dnl Write the resulting Makefile.
+ AC_CONFIG_FILES([Makefile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/3660d1fa/attachment-0001.html>
More information about the macports-changes
mailing list