[packages/adapter: 221/631] - use autotools macros
glen
glen at pld-linux.org
Mon Sep 12 19:52:59 CEST 2016
commit db9b1bf20d4ad87ef47fa7abf22bd2cbf962666c
Author: Elan Ruusamäe <glen at pld-linux.org>
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
More information about the pld-cvs-commit
mailing list