Forráskód Böngészése

try to avoid extra dependency by applying the workaround we already applied to a few other packages which had the same problem under Solaris

Ralf S. Engelschall 19 éve
szülő
commit
bc24e6bbb1
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      curl/curl.spec

+ 2 - 1
curl/curl.spec

@@ -46,7 +46,7 @@ Source0:      http://curl.haxx.se/download/curl-%{version}.tar.bz2
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20040130, make, gcc, grep
+BuildPreReq:  OpenPKG, openpkg >= 20040130, make, gcc
 PreReq:       OpenPKG, openpkg >= 20040130
 %if "%{with_ssl}" == "yes"
 BuildPreReq:  openssl >= 0.9.7
@@ -98,6 +98,7 @@ AutoReqProv:  no
     CFLAGS="$CFLAGS `pkg-config --cflags libidn`"
     LIBS="$LIBS `pkg-config --libs libidn`"
 %endif
+    export GREP="grep"
     ./configure \
         --cache-file=./config.cache \
         --prefix=%{l_prefix} \