Revision: 95995 https://trac.macports.org/changeset/95995 Author: ryandesign@macports.org Date: 2012-07-27 15:01:59 -0700 (Fri, 27 Jul 2012) Log Message: ----------- abiword-x11: fix 'ld: unknown option: --no-undefined' build error Modified Paths: -------------- trunk/dports/editors/abiword-x11/Portfile Added Paths: ----------- trunk/dports/editors/abiword-x11/files/patch-src-Makefile.in.diff Modified: trunk/dports/editors/abiword-x11/Portfile =================================================================== --- trunk/dports/editors/abiword-x11/Portfile 2012-07-27 21:51:29 UTC (rev 95994) +++ trunk/dports/editors/abiword-x11/Portfile 2012-07-27 22:01:59 UTC (rev 95995) @@ -23,7 +23,8 @@ distname ${dname}-${version} patchfiles patch-configure.diff \ - patch-glib-2.32.diff + patch-glib-2.32.diff \ + patch-src-Makefile.in.diff depends_build port:pkgconfig Added: trunk/dports/editors/abiword-x11/files/patch-src-Makefile.in.diff =================================================================== --- trunk/dports/editors/abiword-x11/files/patch-src-Makefile.in.diff (rev 0) +++ trunk/dports/editors/abiword-x11/files/patch-src-Makefile.in.diff 2012-07-27 22:01:59 UTC (rev 95995) @@ -0,0 +1,29 @@ +--- src/Makefile.in.orig 2010-06-13 16:17:56.000000000 -0500 ++++ src/Makefile.in 2012-07-27 16:56:52.000000000 -0500 +@@ -503,7 +503,7 @@ + $(WP_CPPFLAGS) \ + -DABIWORD_DATADIR="\"$(ABIWORD_DATADIR)\"" + +-libabiword_2_8_la_LDFLAGS = $(DEPS_LIBS) --no-undefined -avoid-version \ ++libabiword_2_8_la_LDFLAGS = $(DEPS_LIBS) -no-undefined -avoid-version \ + -export-dynamic $(am__append_6) + libabiword_2_8_la_LIBADD = $(opt_libs) plugins/libplugins.la \ + text/fmt/xp/libxp.la text/ptbl/xp/libxp.la \ +@@ -538,7 +538,7 @@ + + @TOOLKIT_COCOA_TRUE@AbiWord_LDFLAGS = \ + @TOOLKIT_COCOA_TRUE@ $(DEPS_LIBS) \ +-@TOOLKIT_COCOA_TRUE@ --no-undefined \ ++@TOOLKIT_COCOA_TRUE@ -no-undefined \ + @TOOLKIT_COCOA_TRUE@ -avoid-version \ + @TOOLKIT_COCOA_TRUE@ -export-dynamic \ + @TOOLKIT_COCOA_TRUE@ -headerpad_max_install_names +@@ -554,7 +554,7 @@ + + @TOOLKIT_COCOA_FALSE@abiword_LDFLAGS = \ + @TOOLKIT_COCOA_FALSE@ $(platform_ldflags) \ +-@TOOLKIT_COCOA_FALSE@ --no-undefined \ ++@TOOLKIT_COCOA_FALSE@ -no-undefined \ + @TOOLKIT_COCOA_FALSE@ -avoid-version \ + @TOOLKIT_COCOA_FALSE@ -export-dynamic +