OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 26-Dec-2005 00:02:01 Branch: HEAD Handle: 2005122523015800 Modified files: openpkg-src/openldap openldap.spec Log: provide optional ODBC-based RDBMS support Summary: Revision Changes Path 1.154 +11 -1 openpkg-src/openldap/openldap.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/openldap/openldap.spec ============================================================================ $ cvs diff -u -r1.153 -r1.154 openldap.spec --- openpkg-src/openldap/openldap.spec 25 Dec 2005 22:41:24 -0000 1.153 +++ openpkg-src/openldap/openldap.spec 25 Dec 2005 23:01:58 -0000 1.154 @@ -33,13 +33,14 @@ Group: Database License: GPL Version: 2.3.14 -Release: 20051225 +Release: 20051226 # package options %option with_fsl yes %option with_crypt yes %option with_sasl no %option with_perl no +%option with_odbc no # list of sources Source0: ftp://ftp.openldap.org/pub/openldap/openldap-release/openldap-%{version}.tgz @@ -63,6 +64,10 @@ BuildPreReq: sasl PreReq: sasl %endif +%if "%{with_odbc}" == "yes" +BuildPreReq: unixodbc +PreReq: unixodbc +%endif AutoReq: no AutoReqProv: no @@ -147,6 +152,11 @@ ARGS="$ARGS --enable-perl" %endif + # configuration: optional ODBC-based RDBMS support +%if "%{with_odbc}" == "yes" + ARGS="$ARGS --enable-sql" +%endif + # configuration: special platform support case "%{l_platform -t}" in *-sunos* ) LIBS="$LIBS -lrt" ;; @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org