Browse Source

ensure zlib linking

Christoph Schug 22 years ago
parent
commit
75985c22fa
1 changed files with 4 additions and 1 deletions
  1. 4 1
      wml/wml.spec

+ 4 - 1
wml/wml.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL
 Version:      2.0.9
-Release:      20030212
+Release:      20030501
 
 #   list of sources
 Source0:      ftp://thewml.org/distrib/wml-%{version}.tar.gz
@@ -70,6 +70,9 @@ AutoReqProv:  no
     cp %{SOURCE configure.gm4} wml_backend/p4_gm4/configure
     cp %{SOURCE configure.iselect} wml_aux/iselect/configure
     cp %{SOURCE configure.gd} wml_common/gd/configure
+    %{l_shtool} subst \
+        -e 's;^\([	 ]\{1,\}.LIBS.[	 ]\{1,\}=>\).*$;\1 [\"-lm @LIBPNG@ -L%{l_prefix}/lib -lz\"],;' \
+        wml_common/gd/Makefile.PL.in
 
 %build
     CC="%{l_cc}" \