pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files Check -lnetwork for gethost...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a66399af4879
branches:  trunk
changeset: 570036:a66399af4879
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jan 23 22:41:43 2010 +0000

description:
Check -lnetwork for gethostbyname on Haiku. From PR 42665.

diffstat:

 pkgtools/pkg_install/files/configure    |  5 ++++-
 pkgtools/pkg_install/files/configure.ac |  4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 304b1ffc9927 -r a66399af4879 pkgtools/pkg_install/files/configure
--- a/pkgtools/pkg_install/files/configure      Sat Jan 23 22:31:24 2010 +0000
+++ b/pkgtools/pkg_install/files/configure      Sat Jan 23 22:41:43 2010 +0000
@@ -593,6 +593,7 @@
 
 ac_subst_vars='LTLIBOBJS
 LIBOBJS
+PKG_DBDIR
 SYSCONFDIR
 EGREP
 CPP
@@ -4601,7 +4602,7 @@
   return 0;
 }
 _ACEOF
-for ac_lib in '' nsl; do
+for ac_lib in '' nsl network; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else
@@ -4976,6 +4977,8 @@
 
 SYSCONFDIR="$sysconfdir"
 
+PKG_DBDIR="$pkgdbdir"
+
 
 ac_config_files="$ac_config_files Makefile add/Makefile admin/Makefile bpm/bpm.sh create/Makefile delete/Makefile info/Makefile lib/Makefile lib/pkg_install.conf.5 lib/pkg_install.conf.cat"
 
diff -r 304b1ffc9927 -r a66399af4879 pkgtools/pkg_install/files/configure.ac
--- a/pkgtools/pkg_install/files/configure.ac   Sat Jan 23 22:31:24 2010 +0000
+++ b/pkgtools/pkg_install/files/configure.ac   Sat Jan 23 22:41:43 2010 +0000
@@ -1,4 +1,4 @@
-dnl $NetBSD: configure.ac,v 1.33 2010/01/22 13:30:41 joerg Exp $
+dnl $NetBSD: configure.ac,v 1.34 2010/01/23 22:41:43 joerg Exp $
 dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.52)
 AC_INIT([pkg_install], [20090911], [joerg%NetBSD.org@localhost])
@@ -71,7 +71,7 @@
 # Checks for library functions.
 AC_CHECK_FUNCS([vfork])
 
-AC_SEARCH_LIBS([gethostbyname], [nsl])
+AC_SEARCH_LIBS([gethostbyname], [nsl network])
 AC_SEARCH_LIBS([socket],
                [socket],
                [],



Home | Main Index | Thread Index | Old Index