pkgsrc-Bugs archive

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

pkg/42665: Haiku support for pkgtools/pkg_install



>Number:         42665
>Category:       pkg
>Synopsis:       Haiku support for pkgtools/pkg_install
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 23 12:10:00 +0000 2010
>Originator:     OBATA Akio
>Release:        Haiku R1/alpha 1
>Organization:
>Environment:
System: Haiku shredder 1 r33109 Sep 12 2009 17:45:45 BePC Haiku
Architecture: x86-32
Machine: BePC
>Description:
        pkgtool/pkg_install is failed to configure on Haiku OS.
        1) config.{guess,sub} are old.
        2) gethostbyname(3) socket(3) are in libnetwork.
>How-To-Repeat:
        do bootstrap on Haiku.
>Fix:
        1) update config.{guess,sub}.
           pkgsrc/mk/gnu-config/config.{guess,sub} are sufficient.
        2) apply following patch and do autoconf:

Index: files/configure.ac
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/files/configure.ac,v
retrieving revision 1.33
diff -u -r1.33 configure.ac
--- files/configure.ac  22 Jan 2010 13:30:41 -0000      1.33
+++ files/configure.ac  23 Jan 2010 11:50:06 -0000
@@ -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