[113576] trunk/dports/devel/log4cpp/Portfile
michaelld at macports.org
michaelld at macports.org
Tue Nov 19 18:23:23 PST 2013
Revision: 113576
https://trac.macports.org/changeset/113576
Author: michaelld at macports.org
Date: 2013-11-19 18:23:23 -0800 (Tue, 19 Nov 2013)
Log Message:
-----------
log4cpp:
+ take ownership;
+ disable use of "-undefine dynamic_lookup";
+ remove top-level library and include paths from their configre flags.
Modified Paths:
--------------
trunk/dports/devel/log4cpp/Portfile
Modified: trunk/dports/devel/log4cpp/Portfile
===================================================================
--- trunk/dports/devel/log4cpp/Portfile 2013-11-20 02:00:52 UTC (rev 113575)
+++ trunk/dports/devel/log4cpp/Portfile 2013-11-20 02:23:23 UTC (rev 113576)
@@ -5,11 +5,12 @@
name log4cpp
version 1.1
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories devel
platforms darwin
license LGPL-2.1
-maintainers nomaintainer
+maintainers michaelld openmaintainer
description configurable logging for C++
@@ -48,4 +49,21 @@
--disable-html-docs \
--disable-latex-docs
+# remove top-level include path, such that internal headers are used
+# instead of any already-installed ones.
+
+configure.cppflags-delete -I${prefix}/include
+
+# remove top-level library path, such that internal libraries are used
+# instead of any already-installed ones.
+
+configure.ldflags-delete -L${prefix}/lib
+
+# patch dynamically created libtool to remove "-undefine dynamic_lookup"
+
+post-configure {
+ reinplace "s@^allow_undefined_flag=.*@allow_undefined_flag=@g" \
+ ${worksrcpath}/libtool
+}
+
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131119/31bb5fcb/attachment.html>
More information about the macports-changes
mailing list