pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/guile22
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.
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.
Home |
Main Index |
Thread Index |
Old Index