Selaa lähdekoodia

fixed usage of obsolete command in pmkfile; removed leading comment lines in pmkfile as pmk 0.9.0 barfs on them

Thorsten Hohmeier 21 vuotta sitten
vanhempi
commit
8251962f09
1 muutettua tiedostoa jossa 8 lisäystä ja 2 poistoa
  1. 8 2
      memcached/memcached.spec

+ 8 - 2
memcached/memcached.spec

@@ -25,7 +25,7 @@
 
 #   package versions
 %define       V_memcached       1.1.11
-%define       V_libmemcache     1.1.0
+%define       V_libmemcache     1.2.0
 %define       V_cache_memcached 1.14
 
 #   package information
@@ -39,7 +39,7 @@ Class:        EVAL
 Group:        System
 License:      GPL
 Version:      1.1.11
-Release:      20041224
+Release:      20050118
 
 #   list of sources
 Source0:      http://www.danga.com/memcached/dist/memcached-%{V_memcached}.tar.gz
@@ -62,6 +62,8 @@ AutoReqProv:  no
     system, generic in nature, but intended for use in speeding up
     dynamic web applications by alleviating database load. Additionally,
     this package contains Perl and C client APIs to memcached.
+    FIXME:tho:18.01.2005: will not run on FreeBSD 4.10 as pmkfile for
+    libmemcache not suitable for this system.
 
 %track
     prog memcached:memcached = {
@@ -104,6 +106,10 @@ AutoReqProv:  no
 
     #   build C client API
     ( cd libmemcache-%{V_libmemcache}
+      %{l_shtool} subst \
+          -e 's;^#.*$;;' \
+          -e 's;CHECK_INCLUDE;CHECK_HEADER;' \
+          pmkfile
       %{l_prefix}/bin/pmk >/dev/null
       %{l_make} %{l_mflags -O}
     ) || exit $?