SunOS needs explicit -lnsl and -socket as well as XPG6 for libptytty

This commit is contained in:
richard 2014-08-23 15:31:55 +00:00
parent cca5bbb3d2
commit 64a67b5453
3 changed files with 16 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.51 2014/05/29 23:38:20 wiz Exp $
# $NetBSD: Makefile,v 1.52 2014/08/23 15:31:55 richard Exp $
DISTNAME= rxvt-unicode-9.20
PKGREVISION= 1
@ -23,6 +23,8 @@ CONFIGURE_ARGS+= --enable-256-color
INSTALLATION_DIRS+= share/doc/rxvt-unicode share/examples/rxvt-unicode
LIBS.SunOS+= -lnsl -lsocket
post-install:
${INSTALL_DATA} ${WRKSRC}/README.FAQ \
${DESTDIR}${PREFIX}/share/doc/rxvt-unicode

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.24 2014/05/09 17:18:48 morr Exp $
$NetBSD: distinfo,v 1.25 2014/08/23 15:31:55 richard Exp $
SHA1 (rxvt-unicode-9.20.tar.bz2) = 6214c7893a8c968936103e255a1d3d1e9868abf9
RMD160 (rxvt-unicode-9.20.tar.bz2) = 98e8b281ed39f501df4de2366196fb2e46881d7c
Size (rxvt-unicode-9.20.tar.bz2) = 916598 bytes
SHA1 (patch-Makefile.in) = 1c2890e2057d062f823f944fc2ecd2258f14b61e
SHA1 (patch-configure) = bd8a6fb21a02f7df6c29a932de10fdc2213ae8b0
SHA1 (patch-configure) = 4d80e5ff21eff91e8633b695fd91c02598d459f2
SHA1 (patch-doc_Makefile.in) = 8465193e21878a18ae467dc50a336a65f1bd4de7

View file

@ -1,8 +1,8 @@
$NetBSD: patch-configure,v 1.3 2013/07/22 17:55:21 morr Exp $
$NetBSD: patch-configure,v 1.4 2014/08/23 15:31:55 richard Exp $
Don't use predefined CXXFLAGS.
--- configure.orig 2013-03-23 15:39:59.000000000 +0000
--- configure.orig 2013-10-27 16:20:10.000000000 +0000
+++ configure
@@ -4474,32 +4474,6 @@ fi
LINKER=$LINKER
@ -37,3 +37,12 @@ Don't use predefined CXXFLAGS.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5
$as_echo_n "checking for library containing setlocale... " >&6; }
if ${ac_cv_search_setlocale+:} false; then :
@@ -7146,7 +7120,7 @@ fi
case $host in
*-*-solaris*)
-$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
+$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
$as_echo_n "checking for library containing sendmsg... " >&6; }