[64597] trunk/dports/devel/libcryptopp
raphael at macports.org
raphael at macports.org
Wed Mar 10 07:07:32 PST 2010
Revision: 64597
http://trac.macports.org/changeset/64597
Author: raphael at macports.org
Date: 2010-03-10 07:07:29 -0800 (Wed, 10 Mar 2010)
Log Message:
-----------
libcryptopp:
* take maintainership
* remove outdated mirrors (see #19368)
* fix test run (see #19368)
* add universal variant (fixes #19368)
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 2010-03-10 14:56:03 UTC (rev 64596)
+++ trunk/dports/devel/libcryptopp/Portfile 2010-03-10 15:07:29 UTC (rev 64597)
@@ -6,16 +6,14 @@
version 5.6.0
categories devel security
platforms darwin
-maintainers nomaintainer
+maintainers raphael openmaintainer
description C++ class library of cryptographic schemes
long_description Crypto++ Library is a free C++ class library of \
cryptographic schemes.
homepage http://www.cryptopp.com/
master_sites sourceforge:cryptopp \
- ${homepage} \
- http://www.mirrors.wiretapped.net/security/cryptography/libraries/cryptolib/ \
- http://gd.tuwien.ac.at/privacy/crypto/libs/cryptlib/
+ ${homepage}
distname cryptopp[strsed ${version} {g/\.//}]
checksums md5 36f35789ad60489d58003d3c849807e8 \
sha1 b836783ebd72d5bc6a916620ab2b1ecec316fef1 \
@@ -24,16 +22,13 @@
extract.mkdir yes
-patchfiles patch-GNUmakefile.diff
-
use_configure no
build.type gnu
-build.args -f GNUmakefile
test.run yes
test.cmd ./cryptest.exe
-test.target
+test.target v
destroot {
xinstall -m 755 -d ${destroot}${prefix}/include/cryptopp \
@@ -44,3 +39,9 @@
xinstall -m 644 -W ${worksrcpath} Readme.txt License.txt \
${destroot}${prefix}/share/doc/${name}/
}
+
+variant universal {
+ patchfiles patch-GNUmakefile.diff
+ build.env-append \
+ CXXFLAGS="${configure.universal_cxxflags}"
+}
Modified: trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff
===================================================================
--- trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2010-03-10 14:56:03 UTC (rev 64596)
+++ trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2010-03-10 15:07:29 UTC (rev 64597)
@@ -1,11 +1,8 @@
---- GNUmakefile.orig 2010-01-28 23:24:27.000000000 +0100
-+++ GNUmakefile 2010-01-28 23:24:41.000000000 +0100
-@@ -32,7 +32,7 @@
-
- ifneq ($(GCC42_OR_LATER),0)
- ifneq ($(UNAME),Darwin)
--CXXFLAGS += -march=native -mtune=native
-+CXXFLAGS +=
- endif
- endif
-
+--- GNUmakefile.orig 2009-03-15 02:48:02.000000000 +0100
++++ GNUmakefile 2009-05-16 18:13:11.000000000 +0200
+@@ -1,4 +1,4 @@
+-CXXFLAGS = -DNDEBUG -g -O2
++CXXFLAGS += -DNDEBUG -g -O2
+ #CXXFLAGS = -g
+ # -fPIC is supported. Please report any breakage of -fPIC as a bug.
+ # CXXFLAGS += -fPIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100310/a882cd8c/attachment.html>
More information about the macports-changes
mailing list