[38679] trunk/dports/math/cln/Portfile
gwright at macports.org
gwright at macports.org
Mon Jul 28 11:16:46 PDT 2008
Revision: 38679
http://trac.macosforge.org/projects/macports/changeset/38679
Author: gwright at macports.org
Date: 2008-07-28 11:16:46 -0700 (Mon, 28 Jul 2008)
Log Message:
-----------
Version bump to 1.2.2 and reduce optimization level to -O
(-O2 tickles a bug which cause the tests to fail).
Modified Paths:
--------------
trunk/dports/math/cln/Portfile
Modified: trunk/dports/math/cln/Portfile
===================================================================
--- trunk/dports/math/cln/Portfile 2008-07-28 17:10:42 UTC (rev 38678)
+++ trunk/dports/math/cln/Portfile 2008-07-28 18:16:46 UTC (rev 38679)
@@ -2,7 +2,7 @@
PortSystem 1.0
name cln
-version 1.1.13
+version 1.2.2
categories math
platforms darwin
maintainers gwright at macports.org
@@ -14,9 +14,11 @@
use_bzip2 yes
homepage http://www.ginac.de/CLN/
-master_sites ftp://ftpthep.physik.uni-mainz.de/pub/gnu/
+master_sites ${homepage}
-checksums md5 1f3d227360003b389bba14c8a5c3695a
+checksums md5 6b479281fec86314b4c7a9357bd83ef8 \
+ sha1 2d2a5d3e383a3043c5bf68299a466685ef4ec8ec \
+ rmd160 e53ceebede73fb3f97ca85aeba1c821e1e7d3c38
depends_lib port:gmp
@@ -28,33 +30,15 @@
return -code error "cln is not supported on Panther (OS X 10.3.x)"
}
-platform darwin 8 {
- configure.ldflags-append \
- -lstdc++
- configure.cflags-append \
- -fno-exceptions \
- -finline-limit=1000 \
- -I../include \
- -I${prefix}/include
- configure.cxxflags-append \
- -fno-exceptions \
- -finline-limit=1000 \
- -I../include \
- -I${prefix}/include \
- -L${prefix}/lib
-}
+configure.cflags-delete -O2
+configure.cflags-append -O
-
-configure.args --with-gmp \
+configure.args --with-gmp=${prefix}/lib \
--infodir=${prefix}/share/info \
--mandir=${prefix}/share/man
-build { system "cd ${worksrcpath} && LDFLAGS=\"-lstdc++ -Wl,-read_only_relocs,warning -L${prefix}/lib\" make all"
- }
-
default_variants +test
variant test { test.run yes
- test.cmd make
test.target check
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080728/340e35de/attachment.html
More information about the macports-changes
mailing list