[40270] trunk/dports/lang/pure/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Sep 27 17:27:58 PDT 2008


Revision: 40270
          http://trac.macports.org/changeset/40270
Author:   ryandesign at macports.org
Date:     2008-09-27 17:27:58 -0700 (Sat, 27 Sep 2008)
Log Message:
-----------
pure: add new gsl variant for GNU Scientific Library support, and make sure gsl support isn't added unless that variant is chosen

Modified Paths:
--------------
    trunk/dports/lang/pure/Portfile

Modified: trunk/dports/lang/pure/Portfile
===================================================================
--- trunk/dports/lang/pure/Portfile	2008-09-27 21:59:25 UTC (rev 40269)
+++ trunk/dports/lang/pure/Portfile	2008-09-28 00:27:58 UTC (rev 40270)
@@ -4,6 +4,7 @@
 
 name                    pure
 version                 0.7
+revision                1
 categories              lang
 platforms               darwin
 maintainers             ryandesign
@@ -35,6 +36,9 @@
     path:${prefix}/bin/llvm-config:llvm-devel \
     port:readline
 
+configure.args \
+    --disable-gsl
+
 pre-configure {
     set llvm_minimum_version 2.4
     set llvm_installed_version [exec llvm-config --version]
@@ -43,6 +47,12 @@
     }
 }
 
+variant gsl description {Enable experimental support for the GNU Scientific Library (GSL)} {
+    configure.args-append   --enable-gsl
+    configure.args-delete   --disable-gsl
+    depends_lib-append      port:gsl
+}
+
 test.run                yes
 test.target             check
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080927/8b93d87e/attachment.html 


More information about the macports-changes mailing list