On Feb 5, 2008, at 20:40, Michael Franz wrote:

Add a pre-configure phase which finds those files and generates the
string/path that you want to pass to configure, put it in a portfile-
local variable and then add it to your configure args by using that
variable.

Any hints on how to do this? I have not found many examples. The one that I did find uses perl.

These don't cause a problem, but doesn't work. libgcj is not defined when configure executes.

set libgcj [ open find ${prefix}/share/java -name "libgcj-4\.2*.jar"]
set libgcj system find ${prefix}/share/java -name "libgcj-4\.2*.jar"

It would probably be:

set libgcj [exec find ${prefix}/share/java -name "libgcj-4\.2*.jar"]

(unless you use fs-traverse like Daniel said)
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to