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: 07-Mar-2003 12:24:11
Branch: OPENPKG_1_STABLE Handle: 2003030711241000
Modified files: (Branch: OPENPKG_1_STABLE)
openpkg-src/postgresql postgresql.spec
Log:
fix wrong dependency to not-existing perl-openpkg package and avoid
picking up GNU getopt
Summary:
Revision Changes Path
1.31.2.3 +10 -3 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.31.2.2 -r1.31.2.3 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 16 Feb 2003 09:18:15 -0000
1.31.2.2
+++ openpkg-src/postgresql/postgresql.spec 7 Mar 2003 11:24:10 -0000
1.31.2.3
@@ -40,7 +40,7 @@
Group: Database
License: GPL
Version: %{V_postgresql}
-Release: 1.20030216
+Release: 1.20030307
# package options
%option with_cxx no
@@ -63,8 +63,8 @@
BuildPreReq: OpenPKG, openpkg >= 1.20030103, make, gcc, readline, flex, bison,
zlib, openssl
PreReq: OpenPKG, openpkg >= 1.20030103
%if "%{with_perl}" == "yes"
-BuildPreReq: perl, perl-openpkg
-PreReq: perl, perl-openpkg
+BuildPreReq: perl >= 5.8.0
+PreReq: perl >= 5.8.0
%endif
%if "%{with_odbc}" == "yes"
BuildPreReq: unixodbc
@@ -104,12 +104,19 @@
src/backend/utils/mb/conversion_procs/proc.mk
%build
+ # avoid nonstandard system getopt
+ ( echo ac_cv_func_getopt_long="no"
+ echo ac_cv_header_getopt_h="no"
+ echo ac_cv_search_getopt_long=""
+ ) >config.cache
+
# configure package
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
+ --cache-file=./config.cache \
--prefix=%{l_prefix} \
--with-openssl=%{l_prefix} \
--with-readline \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]