[45565] trunk/dports/science/libnc-dap/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Jan 17 16:38:01 PST 2009
Revision: 45565
http://trac.macports.org/changeset/45565
Author: takeshi at macports.org
Date: 2009-01-17 16:38:01 -0800 (Sat, 17 Jan 2009)
Log Message:
-----------
libnc-dap: changed to gcc43 from gcc42. added build dependency to pkgconfig. fix to be universal. revision incremented
Modified Paths:
--------------
trunk/dports/science/libnc-dap/Portfile
Modified: trunk/dports/science/libnc-dap/Portfile
===================================================================
--- trunk/dports/science/libnc-dap/Portfile 2009-01-18 00:26:10 UTC (rev 45564)
+++ trunk/dports/science/libnc-dap/Portfile 2009-01-18 00:38:01 UTC (rev 45565)
@@ -5,6 +5,7 @@
name libnc-dap
version 3.7.1
+revision 2
platforms darwin
maintainers takeshi at macports.org
categories science
@@ -22,20 +23,26 @@
the library when linking your application and then simply pass \
an OPeNDAP URL in where you would normally use a file name.
patchfiles patch-Makefile.in.diff
+depends_build port:pkgconfig
depends_lib port:curl \
port:libdap \
port:libxml2
if {![variant_isset g95]} {
- default_variants +gcc42
+ default_variants +gcc43
}
-variant gcc42 conflicts g95 description {Build using gcc42 (default)} {
- depends_build-append port:gcc42
- configure.fc ${prefix}/bin/gfortran-mp-4.2
+variant gcc43 conflicts g95 description {Build using gcc43 (default)} {
+ depends_build-append port:gcc43
+ configure.fc ${prefix}/bin/gfortran-mp-4.3
}
-variant g95 conflicts gcc42 description {Build using g95} {
+variant g95 conflicts gcc43 description {Build using g95} {
depends_build-append port:g95
configure.fc ${prefix}/bin/g95
}
+if {[variant_isset universal]} {
+ pre-build {
+ reinplace "s|single_module|single_module ${configure.universal_ldflags}|" ${worksrcpath}/libtool
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090117/3aac0e61/attachment-0001.html>
More information about the macports-changes
mailing list