[45761] trunk/dports/math/pdc/Portfile
jmr at macports.org
jmr at macports.org
Wed Jan 21 06:34:33 PST 2009
Revision: 45761
http://trac.macports.org/changeset/45761
Author: jmr at macports.org
Date: 2009-01-21 06:34:33 -0800 (Wed, 21 Jan 2009)
Log Message:
-----------
pdc: make use of configure.* variables, add missing ncurses dep
Modified Paths:
--------------
trunk/dports/math/pdc/Portfile
Modified: trunk/dports/math/pdc/Portfile
===================================================================
--- trunk/dports/math/pdc/Portfile 2009-01-21 14:34:28 UTC (rev 45760)
+++ trunk/dports/math/pdc/Portfile 2009-01-21 14:34:33 UTC (rev 45761)
@@ -20,12 +20,13 @@
master_sites http://www.redfelineninja.dsl.pipex.com/software/
checksums md5 03dadb29fd517a2b23e2cb3018cf5753
-depends_lib port:readline
+depends_lib port:readline port:ncurses
use_configure no
-build.env CFLAGS=-I${prefix}/include \
- LDFLAGS="-L${prefix}/lib -flat_namespace"
+build.env-append CFLAGS="${configure.cppflags}" \
+ LDFLAGS="${configure.ldflags}" \
+ CC="${configure.cc}"
destroot {
xinstall -s -m 755 ${worksrcpath}/pdc ${destroot}${prefix}/bin/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090121/5be7c4b1/attachment.html>
More information about the macports-changes
mailing list