Received: by mail.netbsd.org (Postfix, from userid 605) id 8B32C84D73; Mon, 9 Dec 2019 04:51:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 14A7384D56 for ; Mon, 9 Dec 2019 04:51:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id G-XkMQtT013I for ; Mon, 9 Dec 2019 04:51:57 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 62F0084C85 for ; Mon, 9 Dec 2019 04:51:57 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 60AFCFA97; Mon, 9 Dec 2019 04:51:57 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157586711789140" MIME-Version: 1.0 Date: Mon, 9 Dec 2019 04:51:57 +0000 From: "David H. Gutteridge" Subject: CVS commit: pkgsrc/lang/guile22 To: pkgsrc-changes@NetBSD.org Reply-To: gutteridge@netbsd.org X-Mailer: log_accum Message-Id: <20191209045157.60AFCFA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_157586711789140 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gutteridge Date: Mon Dec 9 04:51:57 UTC 2019 Modified Files: pkgsrc/lang/guile22: Makefile Log Message: guile22: fix SunOS builds on releases that provide accept4() Curiously, the only thing stopping this from building was the second accept4() test in the configure script, which doesn't supply the necessary linker arguments. Elsewhere, the build configuration does correctly set those same arguments. On current members of the SunOS family, this meant it would falsely think accept4() wasn't defined when it really was, which would then lead to a signature mismatch during compilation. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/guile22/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_157586711789140 Content-Disposition: inline Content-Length: 779 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/guile22/Makefile diff -u pkgsrc/lang/guile22/Makefile:1.15 pkgsrc/lang/guile22/Makefile:1.16 --- pkgsrc/lang/guile22/Makefile:1.15 Sun Nov 10 17:49:21 2019 +++ pkgsrc/lang/guile22/Makefile Mon Dec 9 04:51:57 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2019/11/10 17:49:21 maya Exp $ +# $NetBSD: Makefile,v 1.16 2019/12/09 04:51:57 gutteridge Exp $ DISTNAME= guile-2.2.6 PKGNAME= ${DISTNAME:S/guile/guile22/} @@ -21,6 +21,8 @@ CONFIGURE_ARGS+= --disable-shared # not until boehm-gc is threaded CONFIGURE_ARGS+= --without-threads CONFIGURE_ARGS+= SHELL=${CONFIG_SHELL} +# Needed to work around broken configure check for accept4() +LDFLAGS.SunOS+= -lsocket -lnsl .if !empty(GUILE_SUBDIR) # Installation prefix is non-default. --_----------=_157586711789140--