unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Matt Wette <matt.wette@gmail.com>
To: 26183@debbugs.gnu.org
Subject: bug#26183: patch for guile-2.2.0 on FreeBSD 11.0
Date: Sun, 19 Mar 2017 18:39:46 -0700	[thread overview]
Message-ID: <8B56029B-58C3-44B1-838E-3F2BB84255C8@gmail.com> (raw)

[-- 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"

             reply	other threads:[~2017-03-20  1:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  1:39 Matt Wette [this message]
2017-04-19 14:20 ` bug#26183: patch for guile-2.2.0 on FreeBSD 11.0 Andy Wingo
2017-04-25 13:04   ` Matt Wette

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8B56029B-58C3-44B1-838E-3F2BB84255C8@gmail.com \
    --to=matt.wette@gmail.com \
    --cc=26183@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).