[136523] trunk/dports/devel/libcryptopp
raphael at macports.org
raphael at macports.org
Wed May 20 09:45:02 PDT 2015
Revision: 136523
https://trac.macports.org/changeset/136523
Author: raphael at macports.org
Date: 2015-05-20 09:45:02 -0700 (Wed, 20 May 2015)
Log Message:
-----------
libcryptopp:
* fix license
* also install the dynamic library (#47773)
Modified Paths:
--------------
trunk/dports/devel/libcryptopp/Portfile
trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff
Modified: trunk/dports/devel/libcryptopp/Portfile
===================================================================
--- trunk/dports/devel/libcryptopp/Portfile 2015-05-20 16:41:00 UTC (rev 136522)
+++ trunk/dports/devel/libcryptopp/Portfile 2015-05-20 16:45:02 UTC (rev 136523)
@@ -5,6 +5,7 @@
name libcryptopp
version 5.6.2
+revision 1
categories devel security
platforms darwin
maintainers raphael openmaintainer
@@ -13,7 +14,7 @@
cryptographic schemes.
homepage http://www.cryptopp.com/
-license public-domain
+license Boost-1
master_sites sourceforge:cryptopp \
${homepage}
@@ -32,6 +33,7 @@
variant universal {}
build.type gnu
+build.target dynamic static cryptest.exe
build.env-append CXXFLAGS="[get_canonical_archflags cxx]"
build.args-append CXX=${configure.cxx}
@@ -42,7 +44,9 @@
destroot {
xinstall -m 755 -d ${destroot}${prefix}/include/cryptopp \
${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/libcryptopp.a ${destroot}${prefix}/lib
+ xinstall -m 644 ${worksrcpath}/libcryptopp.a \
+ ${worksrcpath}/libcryptopp.so \
+ ${destroot}${prefix}/lib
eval xinstall -m 644 [glob ${worksrcpath}/*.h] \
${destroot}${prefix}/include/cryptopp/
xinstall -m 644 -W ${worksrcpath} Readme.txt License.txt \
Modified: trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff
===================================================================
--- trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2015-05-20 16:41:00 UTC (rev 136522)
+++ trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2015-05-20 16:45:02 UTC (rev 136523)
@@ -1,11 +1,15 @@
---- GNUmakefile.orig 2013-05-22 13:31:13.000000000 +0200
-+++ GNUmakefile 2013-05-22 13:34:05.000000000 +0200
-@@ -1,4 +1,4 @@
+--- GNUmakefile.orig 2015-05-20 18:10:05.000000000 +0200
++++ GNUmakefile 2015-05-20 18:10:36.000000000 +0200
+@@ -1,7 +1,7 @@
-CXXFLAGS = -DNDEBUG -g -O2
+CXXFLAGS += -DNDEBUG -g -O2
# -O3 fails to link on Cygwin GCC version 4.5.3
# -fPIC is supported. Please report any breakage of -fPIC as a bug.
- # CXXFLAGS += -fPIC
+-# CXXFLAGS += -fPIC
++CXXFLAGS += -fPIC
+ # the following options reduce code size, but breaks link or makes link very slow on some systems
+ # CXXFLAGS += -ffunction-sections -fdata-sections
+ # LDFLAGS += -Wl,--gc-sections
@@ -36,9 +36,7 @@
GAS219_OR_LATER = $(shell $(CXX) -xc -c /dev/null -Wa,-v -o/dev/null 2>&1 | $(EGREP) -c "GNU assembler version (2\.19|2\.[2-9]|[3-9])")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150520/3b948bae/attachment-0001.html>
More information about the macports-changes
mailing list