[44568] trunk/dports/textproc/recode/Portfile

blb at macports.org blb at macports.org
Tue Dec 30 14:01:37 PST 2008


Revision: 44568
          http://trac.macports.org/changeset/44568
Author:   blb at macports.org
Date:     2008-12-30 14:01:35 -0800 (Tue, 30 Dec 2008)
Log Message:
-----------
textproc/recode - work with libtool versions 1 and 2

Modified Paths:
--------------
    trunk/dports/textproc/recode/Portfile

Modified: trunk/dports/textproc/recode/Portfile
===================================================================
--- trunk/dports/textproc/recode/Portfile	2008-12-30 20:52:12 UTC (rev 44567)
+++ trunk/dports/textproc/recode/Portfile	2008-12-30 22:01:35 UTC (rev 44568)
@@ -30,7 +30,11 @@
 patchfiles      patch-lib_Makefile.in.diff patch-src_libiconv.c.diff
 
 pre-configure {
-    copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
+    if {[file exists ${prefix}/share/libtool/config/config.guess]} {
+        copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
+    } else {
+        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
+    }
 }
 
 configure.args  --infodir=${prefix}/share/info \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081230/3e3e7b81/attachment.html>


More information about the macports-changes mailing list