[57579] trunk/dports/security/botan/Portfile
mww at macports.org
mww at macports.org
Sun Sep 13 08:44:19 PDT 2009
Revision: 57579
http://trac.macports.org/changeset/57579
Author: mww at macports.org
Date: 2009-09-13 08:44:14 -0700 (Sun, 13 Sep 2009)
Log Message:
-----------
version 1.8.7
Modified Paths:
--------------
trunk/dports/security/botan/Portfile
Modified: trunk/dports/security/botan/Portfile
===================================================================
--- trunk/dports/security/botan/Portfile 2009-09-13 14:53:44 UTC (rev 57578)
+++ trunk/dports/security/botan/Portfile 2009-09-13 15:44:14 UTC (rev 57579)
@@ -3,7 +3,7 @@
PortSystem 1.0
name botan
-version 1.8.6
+version 1.8.7
categories security devel
platforms darwin
maintainers mww
@@ -17,25 +17,36 @@
master_sites http://files.randombit.net/botan/
distfiles Botan-${version}.tbz
worksrcdir Botan-${version}
-checksums md5 827f71f450eb1b7bc9e173c402bc48dc \
- sha1 ddca5d501ccca6ceba04bf6e04d64126ea0dde5d \
- rmd160 9913eb04234786a67463834705516893610568bc
+checksums md5 c607e31b012d9839fd0a1da24ff85e3d \
+ sha1 c7e7f779d48e5cb6dcb8736229eddb553c4e5a4a \
+ rmd160 c4a043c1896c847482098bb8a4dae4294a41cc54
use_bzip2 yes
patchfiles patch-src-build-data-cc-gcc.diff
worksrcdir Botan-${version}
-configure.cmd ./configure.pl
+configure.cmd ./configure.py
configure.args --docdir=share/doc --cc=gcc
-build.args CXX=${configure.cxx}
-
destroot.destdir DESTDIR=${destroot}${prefix}
platform darwin { configure.args-append --os=darwin }
-platform powerpc { configure.args-append --cpu=ppc }
-platform ppc64 { configure.args-append --cpu=ppc64 }
-platform i386 { configure.args-append --cpu=ia32 }
-platform x86_64 { configure.args-append --cpu=amd64 }
+if {[info exists build_arch] && ${os.platform} == "darwin"} {
+ if {(${build_arch} == "i386")} {
+ configure.args-append --cpu=ia32
+ build.args CXX="${configure.cxx} -m32"
+ } elseif {(${build_arch} == "x86_64")} {
+ configure.args-append --cpu=amd64
+ build.args CXX="${configure.cxx} -m64"
+ } elseif {(${build_arch} == "ppc")} {
+ configure.args-append --cpu=ppc
+ build.args CXX="${configure.cxx} -m32"
+ } elseif {(${build_arch} == "ppc64")} {
+ configure.args-append --cpu=ppc64
+ build.args CXX="${configure.cxx} -m64"
+ }
+} else {
+ build.args CXX="${configure.cxx}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090913/3a69db7a/attachment-0001.html>
More information about the macports-changes
mailing list