OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Nov-2003 20:54:03
Branch: OPENPKG_1_2_SOLID Handle: 2003112819540300
Modified files: (Branch: OPENPKG_1_2_SOLID)
openpkg-src/apache apache.spec
Log:
fix PR#293, conditionally link to libresolv
Summary:
Revision Changes Path
1.106.2.1.2.5+6 -1 openpkg-src/apache/apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.106.2.1.2.4 -r1.106.2.1.2.5 apache.spec
--- openpkg-src/apache/apache.spec 28 Oct 2003 14:30:57 -0000 1.106.2.1.2.4
+++ openpkg-src/apache/apache.spec 28 Nov 2003 19:54:03 -0000 1.106.2.1.2.5
@@ -60,7 +60,7 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 1.2.3
+Release: 1.2.4
# package options (additionally used Apache modules; can be enabled without
thinking)
%option with_mod_ssl no
@@ -671,6 +671,11 @@
cflags="$cflags -I%{l_prefix}/include"
ldflags="$ldflags -L%{l_prefix}/lib"
libs="$libs -lldap -llber -lssl -lcrypto"
+ case "%{l_target}" in
+ *-solaris* )
+ libs="$libs -lresolv"
+ ;;
+ esac
%endif
CC="%{l_cc}" \
CFLAGS="$cflags" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]