[114181] trunk/dports/devel/log4cxx
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 30 20:48:45 PST 2013
Revision: 114181
https://trac.macports.org/changeset/114181
Author: ryandesign at macports.org
Date: 2013-11-30 20:48:45 -0800 (Sat, 30 Nov 2013)
Log Message:
-----------
log4cxx: fix universal variant with clang by regenerating libtool (#34937; maintainer timeout)
Modified Paths:
--------------
trunk/dports/devel/log4cxx/Portfile
Added Paths:
-----------
trunk/dports/devel/log4cxx/files/patch-configure.ac.diff
Removed Paths:
-------------
trunk/dports/devel/log4cxx/files/patch-configure.diff
Modified: trunk/dports/devel/log4cxx/Portfile
===================================================================
--- trunk/dports/devel/log4cxx/Portfile 2013-12-01 04:34:10 UTC (rev 114180)
+++ trunk/dports/devel/log4cxx/Portfile 2013-12-01 04:48:45 UTC (rev 114181)
@@ -25,17 +25,29 @@
rmd160 6df384e5c746c3c6903efae6c9f0d64e4f07a5ad
patchfiles gcc43.patch \
- patch-configure.diff \
+ patch-configure.ac.diff \
patch-src-main-cpp-stringhelper.cpp.diff \
patch-src-main-include-log4cxx-helpers-simpledateformat.h.diff \
warnings.patch
patch.pre_args -p1
-depends_build port:pkgconfig
+depends_build port:autoconf \
+ port:automake \
+ port:libtool \
+ port:pkgconfig
depends_lib port:apr-util
+post-extract {
+ move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
+}
+
+# Regenerate libtool to fix universal build with clang.
+# https://issues.apache.org/jira/browse/LOGCXX-396
+use_autoreconf yes
+autoreconf.cmd ./autogen.sh
+
# generating doxygen docu doesn't work
configure.args --enable-doxygen=no
Copied: trunk/dports/devel/log4cxx/files/patch-configure.ac.diff (from rev 114180, trunk/dports/devel/log4cxx/files/patch-configure.diff)
===================================================================
--- trunk/dports/devel/log4cxx/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/devel/log4cxx/files/patch-configure.ac.diff 2013-12-01 04:48:45 UTC (rev 114181)
@@ -0,0 +1,11 @@
+--- a/configure.ac 2008-03-31 17:34:52.000000000 -0500
++++ b/configure.ac 2013-11-30 22:45:07.000000000 -0600
+@@ -138,7 +138,7 @@
+ fi
+
+ CPPFLAGS="$CPPFLAGS `$apu_config --includes`"
+-APU_LIBS="`$apu_config --link-ld --libs`"
++APU_LIBS="`$apu_config --ldflags --link-ld --libs`"
+ AC_SUBST(APU_LIBS)
+ LDFLAGS="$LDFLAGS $APU_LIBS"
+
Deleted: trunk/dports/devel/log4cxx/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/log4cxx/files/patch-configure.diff 2013-12-01 04:34:10 UTC (rev 114180)
+++ trunk/dports/devel/log4cxx/files/patch-configure.diff 2013-12-01 04:48:45 UTC (rev 114181)
@@ -1,11 +0,0 @@
---- a/configure 2008-03-31 17:44:09.000000000 -0500
-+++ b/configure 2013-11-30 22:13:14.000000000 -0600
-@@ -19864,7 +19864,7 @@
- fi
-
- CPPFLAGS="$CPPFLAGS `$apu_config --includes`"
--APU_LIBS="`$apu_config --link-ld --libs`"
-+APU_LIBS="`$apu_config --ldflags --link-ld --libs`"
-
- LDFLAGS="$LDFLAGS $APU_LIBS"
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131130/851f4d40/attachment.html>
More information about the macports-changes
mailing list