unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#26183: patch for guile-2.2.0 on FreeBSD 11.0
@ 2017-03-20  1:39 Matt Wette
  2017-04-19 14:20 ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Wette @ 2017-03-20  1:39 UTC (permalink / raw)
  To: 26183

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

Attached is a patch to apply to guile-2.2.0 to compile on FreeBSD 11.0
Changes
1) updated README to indicate which extra FreeBSD packages need to be installed
2) minor change to configure.ac (implies autoconf needs to run) to use bdw-gc-threaded instead of bdw-gc
With this, I had successful configure, gmake, and gmake check.

[-- Attachment #2: freebsd.patch --]
[-- Type: application/octet-stream, Size: 953 bytes --]

--- README-orig	2017-03-19 17:28:06.000000000 -0700
+++ README	2017-03-19 17:35:32.000000000 -0700
@@ -124,7 +124,11 @@
 treatment.  If you can send us fixes for these problems, we'd be
 grateful.
 
-   <none yet listed>
+FreeBSD 11.0
+  Please `pkg install' the following
+  - pkgconf : provides pkg-config
+  - gmake : /usr/bin/make does not work
+  - boehm-gc-threaded : needed for threaded support
 
 Guile specific flags Accepted by Configure =================================
 
--- configure.ac-orig	2017-03-19 17:14:46.000000000 -0700
+++ configure.ac	2017-03-19 17:22:47.000000000 -0700
@@ -1332,7 +1332,10 @@
 # Boehm's GC library
 #
 #--------------------------------------------------------------------
-PKG_CHECK_MODULES([BDW_GC], [bdw-gc >= 7.2])
+case $host in
+*-*-freebsd*) PKG_CHECK_MODULES([BDW_GC], [bdw-gc-threaded >= 7.2]) ;;
+*) PKG_CHECK_MODULES([BDW_GC], [bdw-gc >= 7.2]) ;;
+esac
 
 save_LIBS="$LIBS"
 LIBS="$BDW_GC_LIBS $LIBS"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-25 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-20  1:39 bug#26183: patch for guile-2.2.0 on FreeBSD 11.0 Matt Wette
2017-04-19 14:20 ` Andy Wingo
2017-04-25 13:04   ` Matt Wette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).