[87978] trunk/dports/math/qhull/Portfile
mmoll at macports.org
mmoll at macports.org
Wed Dec 14 16:14:11 PST 2011
Revision: 87978
http://trac.macports.org/changeset/87978
Author: mmoll at macports.org
Date: 2011-12-14 16:14:11 -0800 (Wed, 14 Dec 2011)
Log Message:
-----------
math/qhull: fix sym link for debug variant
Modified Paths:
--------------
trunk/dports/math/qhull/Portfile
Modified: trunk/dports/math/qhull/Portfile
===================================================================
--- trunk/dports/math/qhull/Portfile 2011-12-14 22:05:27 UTC (rev 87977)
+++ trunk/dports/math/qhull/Portfile 2011-12-15 00:14:11 UTC (rev 87978)
@@ -6,6 +6,7 @@
name qhull
version 2011.2
+revision 1
categories math
platforms darwin
maintainers mmoll
@@ -38,7 +39,11 @@
ln -s ${prefix}/include/libqhull ${destroot}${prefix}/include/qhull
ln -s ${prefix}/include/libqhull/libqhull.h ${destroot}${prefix}/include/libqhull/qhull.h
# ln -s ${prefix}/include/libqhull/qhull.h-deprecated ${destroot}${prefix}/include/libqhull/qhull.h
- ln -s ${prefix}/lib/libqhull6.dylib ${destroot}${prefix}/lib/libqhull.dylib
+ if {[variant_isset debug]} {
+ ln -s ${prefix}/lib/libqhull_d6.dylib ${destroot}${prefix}/lib/libqhull.dylib
+ } else {
+ ln -s ${prefix}/lib/libqhull6.dylib ${destroot}${prefix}/lib/libqhull.dylib
+ }
ln -s ${prefix}/lib/libqhullstatic.a ${destroot}${prefix}/lib/libqhull.a
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111214/64db1b3b/attachment.html>
More information about the macports-changes
mailing list