Bläddra i källkod

requires zlib and make sure that libs are really found

Ralf S. Engelschall 23 år sedan
förälder
incheckning
3e5dc1a389
1 ändrade filer med 6 tillägg och 3 borttagningar
  1. 6 3
      aide/aide.spec

+ 6 - 3
aide/aide.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Security
 License:      GPL
 Version:      0.9
-Release:      20021115
+Release:      20030111
 
 #   list of sources
 Source0:      http://www.cs.tut.fi/~rammer/aide-0.9.tar.gz
@@ -42,7 +42,7 @@ Patch0:       aide.patch
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, bison, flex, mhash
+BuildPreReq:  OpenPKG, openpkg >= 20020206, bison, flex, mhash, zlib
 PreReq:       OpenPKG, openpkg >= 20020206
 AutoReq:      no
 AutoReqProv:  no
@@ -57,10 +57,13 @@ AutoReqProv:  no
 %build
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
+    CPPFLAGS="%{l_cppflags}" \
+    LDFLAGS="%{l_ldflags}" \
     ./configure \
         --prefix=%{l_prefix} \
         --with-dbhmactype=sha1 \
-        --with-dbhmackey=T3BlblBLRyBNYWludGFpbmVy
+        --with-dbhmackey=T3BlblBLRyBNYWludGFpbmVy \
+        --with-zlib
     %{l_make} %{l_mflags -O}
 
 %install