pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/guile22 guile22: fix SunOS builds on releases tha...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c228210cfa36
branches: trunk
changeset: 345291:c228210cfa36
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Mon Dec 09 04:51:57 2019 +0000
description:
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.
diffstat:
lang/guile22/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r c2e3f805a2ec -r c228210cfa36 lang/guile22/Makefile
--- a/lang/guile22/Makefile Sun Dec 08 23:59:25 2019 +0000
+++ b/lang/guile22/Makefile Mon Dec 09 04:51:57 2019 +0000
@@ -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 @@
# 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.
Home |
Main Index |
Thread Index |
Old Index