commit db9b1bf20d4ad87ef47fa7abf22bd2cbf962666c
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Nov 22 20:57:52 2005 +0000

    - use autotools macros
    
    Changed files:
        adapter.awk -> 1.212

 adapter.awk | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 25bcdd1..1c33ecc 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -289,6 +289,7 @@ preamble == 1 {
                        next
        }
 
+       # quote CC
        if (/CC=%{__cc} /) {
                sub("CC=%{__cc}", "CC=\"%{__cc}\"")
        }
@@ -296,6 +297,12 @@ preamble == 1 {
        # use macros
        $0 = fixedsub("glib-gettextize --copy --force","%{__glib_gettextize}", 
$0);
        $0 = fixedsub("intltoolize --copy --force", "%{__intltoolize}", $0);
+       $0 = fixedsub("automake --add-missing --copy", "%{__automake}", $0);
+
+       sub(/^aclocal$/, "%{__aclocal}");
+       sub(/^autoheader$/, "%{__autoheader}");
+       sub(/^autoconf$/, "%{__autoconf}");
+       sub(/^automake$/, "%{__automake}");
 
        # atrpms
        $0 = fixedsub("%perl_configure", "%{__perl} Makefile.PL 
\\\n\tINSTALLDIRS=vendor", $0);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to