[109789] trunk/dports/devel/log4cplus/Portfile
Derek Harland
derek at chocolate-fish.com
Thu Oct 17 03:14:44 PDT 2013
On 20/08/2013, at 18:02 , Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Aug 19, 2013, at 22:56, dh at macports.org wrote:
>
>> Revision: 109789
>> https://trac.macports.org/changeset/109789
>> Author: dh at macports.org
>> Date: 2013-08-19 20:56:50 -0700 (Mon, 19 Aug 2013)
>> Log Message:
>> -----------
>> Upgrade to 1.1.1, build using macports libtool to support libc++, add cplusplus11 variant (closes #38879)
>>
>> Modified Paths:
>> --------------
>> trunk/dports/devel/log4cplus/Portfile
>>
>> Modified: trunk/dports/devel/log4cplus/Portfile
>> ===================================================================
>> --- trunk/dports/devel/log4cplus/Portfile 2013-08-20 03:30:24 UTC (rev 109788)
>> +++ trunk/dports/devel/log4cplus/Portfile 2013-08-20 03:56:50 UTC (rev 109789)
>> @@ -4,7 +4,7 @@
>> PortSystem 1.0
>>
>> name log4cplus
>> -version 1.0.4.1
>> +version 1.1.1
>> categories devel
>> maintainers randomhacks.net:macports
>> description Logging library for C++
>> @@ -16,6 +16,14 @@
>> master_sites sourceforge
>> use_xz yes
>>
>> -checksums md5 306f758596f3a78cbe21a41e2362bac2 \
>> - sha1 cffac9b8c6f7b7c2f6e19a029403b2f844aaf5fc \
>> - rmd160 962ec0a49af0d345ce452799a2395cbe7eda3868
>> +checksums md5 e7844ba5c18073d9936e14def184d60a \
>> + sha1 8b8223cc7840f78c28a4deb2a819b86dc18ea2ad \
>> + rmd160 1a54c794eedec881fceb00f36d80d840f4f00355
>> +
>> +# macports libtool allows linking against libc++, the libtool in the distribution may not
>> +depends_build port:libtool
>> +build.args LIBTOOL=${prefix}/bin/glibtool
>> +
>> +variant cplusplus11 description {build with c++11 support} {
>> + configure.cxxflags-append -std=c++11
>> +}
>
> Why add this variant -- what kind of user needs/wants this?
Sorry, I'm a bit late seeing this email. The reason for this variant is simple:
* log4cplus will use c++11 features if you compile it as c++11, else it will not.
* those features are desirable, so any developer who is writing in c++11 and linking against log4cplus would prefer to use such a version.
derek.
More information about the macports-dev
mailing list