OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Jul-2003 14:39:56
Branch: HEAD Handle: 2003072813395600
Modified files:
openpkg-src/bind bind.spec
Log:
postgres client requires -lresolv for inet_aton()
Summary:
Revision Changes Path
1.72 +11 -4 openpkg-src/bind/bind.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/bind/bind.spec
============================================================================
$ cvs diff -u -r1.71 -r1.72 bind.spec
--- openpkg-src/bind/bind.spec 25 Jul 2003 15:15:17 -0000 1.71
+++ openpkg-src/bind/bind.spec 28 Jul 2003 12:39:56 -0000 1.72
@@ -37,7 +37,7 @@
Group: DNS
License: ISC
Version: %{V_bind}
-Release: 20030725
+Release: 20030728
# package options
%option with_dlz_mysql no
@@ -121,14 +121,21 @@
lf=""
li=""
%if "%{with_dlz_mysql}" == "yes"
- cf=`mysql_config --cflags`
+ cf="$cf `mysql_config --cflags`"
+ lf="$lf `mysql_config --libs`"
+%endif
+%if "%{with_dlz_postgres}" == "yes"
+ case "%{l_target}" in
+ *-solaris*) li="$li -lresolv" ;;
+ esac
+%endif
cf=`eval echo $cf`
- lf=`mysql_config --libs`
lf=`eval echo $lf`
-%endif
+ li=`eval echo $li`
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O} $cf" \
LDFLAGS="%{l_ldflags} $lf" \
+ LIBS="$li" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/bind \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]