[129797] trunk/dports/lang/guile18/Portfile

dports at macports.org dports at macports.org
Sat Dec 20 13:12:47 PST 2014


Revision: 129797
          https://trac.macports.org/changeset/129797
Author:   dports at macports.org
Date:     2014-12-20 13:12:47 -0800 (Sat, 20 Dec 2014)
Log Message:
-----------
guile18: fix up installed autoconf macros

Modified Paths:
--------------
    trunk/dports/lang/guile18/Portfile

Modified: trunk/dports/lang/guile18/Portfile
===================================================================
--- trunk/dports/lang/guile18/Portfile	2014-12-20 21:11:55 UTC (rev 129796)
+++ trunk/dports/lang/guile18/Portfile	2014-12-20 21:12:47 UTC (rev 129797)
@@ -6,7 +6,7 @@
 
 name		guile18
 version		1.8.8
-revision    2
+revision    3
 categories	lang
 maintainers	nomaintainer
 platforms	darwin
@@ -148,11 +148,26 @@
     file rename ${destroot}${prefix}/share/man/man1/guile.1 ${destroot}${prefix}/share/man/man1/guile18.1
     
     reinplace "s|-lguile |-lguile18 |g" ${destroot}${prefix}/bin/guile18-config
+    reinplace "s|guile-config|guile18-config|g" ${destroot}${prefix}/bin/guile18-config
+    reinplace "s|guile-tools|guile18-tools|g" ${destroot}${prefix}/bin/guile18-tools
     reinplace "s|${prefix}/bin/guile|${prefix}/bin/guile18|g" ${destroot}${prefix}/bin/guile18-config
     reinplace "s|-lguile |-lguile18 |g" ${destroot}${prefix}/lib/pkgconfig/guile-1.8.pc
     reinplace "/^includedir=/s|$|/guile18|g" ${destroot}${prefix}/lib/pkgconfig/guile-1.8.pc
     reinplace "s|libguile|libguile18|g" ${destroot}${prefix}/lib/libguile18.la
-    
+
+    reinplace "s|,guile|,guile18|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|guile-tools|guile18-tools|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|guile-config|guile18-config|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_PROGS|GUILE1_8_PROGS|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_FLAGS|GUILE1_8_FLAGS|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_SITE_DIR|GUILE1_8_SITE_DIR|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_CHECK|GUILE1_8_CHECK|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_MODULE_CHECK|GUILE1_8_MODULE_CHECK|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_MODULE_AVAILABLE|GUILE1_8_MODULE_AVAILABLE|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_MODULE_REQUIRED|GUILE1_8_MODULE_REQUIRED|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_MODULE_EXPORTS|GUILE1_8_MODULE_EXPORTS|g" ${destroot}${prefix}/share/aclocal/guile18.m4
+    reinplace "s|GUILE_MODULE_REQUIRED_EXPORT|GUILE1_8_MODULE_REQUIRED_EXPORT|g" ${destroot}${prefix}/share/aclocal/guile18.m4    
+
     fs-traverse src_file  ${destroot}${prefix}/include/ {
         if { [ file isfile ${src_file} ] } {
             reinplace "s|\\<guile\\/|\\<guile18\\/|g"   $src_file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141220/740d7bd0/attachment.html>


More information about the macports-changes mailing list