[92844] trunk/dports/sysutils/krbafs/Portfile

jmr at macports.org jmr at macports.org
Tue May 8 21:27:37 PDT 2012


Revision: 92844
          https://trac.macports.org/changeset/92844
Author:   jmr at macports.org
Date:     2012-05-08 21:27:37 -0700 (Tue, 08 May 2012)
Log Message:
-----------
krbafs: update config.sub as well as config.guess, don't clobber autoconf dep

Modified Paths:
--------------
    trunk/dports/sysutils/krbafs/Portfile

Modified: trunk/dports/sysutils/krbafs/Portfile
===================================================================
--- trunk/dports/sysutils/krbafs/Portfile	2012-05-09 04:04:01 UTC (rev 92843)
+++ trunk/dports/sysutils/krbafs/Portfile	2012-05-09 04:27:37 UTC (rev 92844)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+
 name                krbafs
 version             1.2
 revision            0
@@ -22,15 +23,9 @@
 distname            ${name}-${version}-nocrypto
 worksrcdir          ${name}-${version}
 patchfiles          patch-Makefile.in.diff
-depends_build       port:libtool
-pre-configure {
-    if {[file exists ${prefix}/share/libtool/config/config.guess]} {
-        copy -force ${prefix}/share/libtool/config/config.guess ${worksrcpath}
-    } else {
-        copy -force ${prefix}/share/libtool/config.guess ${worksrcpath}
-    }
-}
+
 post-patch {
+   copy -force ${prefix}/share/libtool/config/config.guess \
+               ${prefix}/share/libtool/config/config.sub ${worksrcpath}
    reinplace "s|@install_prefix@|${destroot}|g" "${worksrcpath}/Makefile.in"
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120508/515e2667/attachment.html>


More information about the macports-changes mailing list