]> git.pld-linux.org Git - packages/amavis-stats.git/commitdiff
- ugly workaround: hack config.sub with sed to prevent error
authorhawk <hawk@pld-linux.org>
Mon, 12 May 2008 16:17:04 +0000 (16:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  "machine `noarch-pld' not recognized", BR: sed, any ideas
  for better fix?

Changed files:
    amavis-stats.spec -> 1.36

amavis-stats.spec

index 3eb2c2abe026429ba363c007bd26e2828c8ad749..37e215289c57b8cdb3246771b70e4834de9cb901 100644 (file)
@@ -13,6 +13,7 @@ Patch0:               %{name}-gzip.patch
 Patch1:                %{name}-Makefile.patch
 URL:           http://osx.topicdesk.com/content/view/42/59/
 BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sed
 Provides:      %{name}-%{version}-%{release}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,6 +61,7 @@ Interfejs PHP dla amavis-stats.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+sed -i -e '/basic_machine=powerpc-apple/s/$/\n\t\t;;\n\tnoarch-*)\n\t\tbasic_machine=noarch/;' config.sub
 %configure \
        --with-user=http \
        --with-group=http \
This page took 0.086978 seconds and 4 git commands to generate.