[114180] trunk/dports/devel/log4cxx

ryandesign at macports.org ryandesign at macports.org
Sat Nov 30 20:34:11 PST 2013


Revision: 114180
          https://trac.macports.org/changeset/114180
Author:   ryandesign at macports.org
Date:     2013-11-30 20:34:10 -0800 (Sat, 30 Nov 2013)
Log Message:
-----------
log4cxx: fix build failure "ld: library not found for -ldb-4.6" (#40093; maintainer timeout); also be explicit about where apr-1-config and apu-1-config are located

Modified Paths:
--------------
    trunk/dports/devel/log4cxx/Portfile

Added Paths:
-----------
    trunk/dports/devel/log4cxx/files/patch-configure.diff

Modified: trunk/dports/devel/log4cxx/Portfile
===================================================================
--- trunk/dports/devel/log4cxx/Portfile	2013-12-01 04:05:46 UTC (rev 114179)
+++ trunk/dports/devel/log4cxx/Portfile	2013-12-01 04:34:10 UTC (rev 114180)
@@ -25,6 +25,7 @@
                    rmd160 6df384e5c746c3c6903efae6c9f0d64e4f07a5ad
 
 patchfiles         gcc43.patch \
+                    patch-configure.diff \
                     patch-src-main-cpp-stringhelper.cpp.diff \
                     patch-src-main-include-log4cxx-helpers-simpledateformat.h.diff \
                    warnings.patch
@@ -37,3 +38,6 @@
 
 # generating doxygen docu doesn't work
 configure.args     --enable-doxygen=no
+
+configure.args-append   --with-apr=${prefix}/bin/apr-1-config \
+                        --with-apr-util=${prefix}/bin/apu-1-config

Added: trunk/dports/devel/log4cxx/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/log4cxx/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/devel/log4cxx/files/patch-configure.diff	2013-12-01 04:34:10 UTC (rev 114180)
@@ -0,0 +1,11 @@
+--- 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/67c58fa2/attachment.html>


More information about the macports-changes mailing list