OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 25-Nov-2002 14:03:05
Branch: OPENPKG_1_1_SOLID Handle: 2002112513030500
Modified files: (Branch: OPENPKG_1_1_SOLID)
openpkg-src/file file.spec
Log:
MFC: fix building
Summary:
Revision Changes Path
1.21.2.2 +11 -4 openpkg-src/file/file.spec
____________________________________________________________________________
Index: openpkg-src/file/file.spec
============================================================
$ cvs diff -u -r1.21.2.1 -r1.21.2.2 file.spec
--- openpkg-src/file/file.spec 26 Aug 2002 19:53:36 -0000 1.21.2.1
+++ openpkg-src/file/file.spec 25 Nov 2002 13:03:05 -0000 1.21.2.2
@@ -33,7 +33,7 @@
Group: Filesystem
License: BSD
Version: 3.39
-Release: 1.1.0
+Release: 1.1.1
# list of sources
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@@ -41,7 +41,7 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 1.1.0, gcc
+BuildPreReq: OpenPKG, openpkg >= 1.1.0, gcc, make, zlib
PreReq: OpenPKG, openpkg >= 1.1.0
AutoReq: no
AutoReqProv: no
@@ -54,9 +54,16 @@
%setup -q
%build
+ %{l_shtool} subst \
+ -e 's;ACLOCAL=aclocal;ACLOCAL=true;' \
+ -e 's;AUTOCONF=autoconf;AUTOCONF=true;' \
+ -e 's;AUTOMAKE=automake;AUTOMAKE=true;' \
+ -e 's;AUTOHEADER=autoheader;AUTOHEADER=true;' \
+ configure
CC="%{l_cc}" \
- CFLAGS="%{l_cflags -O} -I%{prefix}/include" \
- LDFLAGS="-L%{prefix}/lib" \
+ CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
+ CPPFLAGS="%{l_cppflags}" \
+ LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--datadir=%{l_prefix}/share/file \
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]