pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bigloo: added emacs stuff; fixed dlopen bug
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Mon Mar 10 15:15:41 2025 -0400
Changeset: 8b710e082dcafce54b19b38a00ea094932c53384
Modified Files:
bigloo/distinfo
bigloo/options.mk
bigloo/patches/patch-configure
Log Message:
bigloo: added emacs stuff; fixed dlopen bug
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8b710e082dcafce54b19b38a00ea094932c53384
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bigloo/distinfo | 2 +-
bigloo/options.mk | 16 +++++++++++++++-
bigloo/patches/patch-configure | 11 +++++++++++
3 files changed, 27 insertions(+), 2 deletions(-)
diffs:
diff --git a/bigloo/distinfo b/bigloo/distinfo
index 29ca7e673c..b351ff3c9a 100644
--- a/bigloo/distinfo
+++ b/bigloo/distinfo
@@ -3,4 +3,4 @@ $NetBSD$
BLAKE2s (bigloo-4.5b.tar.gz) = 4a66cd548a633ed4ce31f258d311e1e2cd5a07d7819f7fe1e6bbcf1150ed612e
SHA512 (bigloo-4.5b.tar.gz) = db47d0dfb0d209468472cfbdc88cc93967543cdbef0f1d67e702d400144d5f3404a9b886f72be36d7571c1eb8f66091a750d396b9cf35f3e5e84e70c13a4630c
Size (bigloo-4.5b.tar.gz) = 59015793 bytes
-SHA1 (patch-configure) = 13d616c84de3e44b045a2a05b0e09d39d47b3daf
+SHA1 (patch-configure) = 534c28b3406a7aa47d5b46719c3b95fa586ed455
diff --git a/bigloo/options.mk b/bigloo/options.mk
index f0db4a344c..c08c4aefed 100644
--- a/bigloo/options.mk
+++ b/bigloo/options.mk
@@ -1,7 +1,7 @@
# $NetBSD$
PKG_OPTIONS_VAR= PKG_OPTIONS.bigloo
-PKG_SUPPORTED_OPTIONS= alsa avahi flac pgp gstreamer libuv mpg123 pulseaudio sqlite
+PKG_SUPPORTED_OPTIONS= alsa avahi emacs flac pgp gstreamer libuv mpg123 pulseaudio sqlite
PKG_SUGGESTED_OPTIONS= libuv sqlite
.include "../../mk/bsd.options.mk"
@@ -31,6 +31,20 @@ PLIST.avahi= yes
CONFIGURE_ARGS+= --disable-avahi
.endif
+###
+### Add Full BEE and Emacs support
+###
+.if !empty(PKG_OPTIONS:Memacs)
+CONFIGURE_ARGS+= --bee=full
+CONFIGURE_ARGS+= --lispdir=${EMACS_LISPPREFIX}
+.include "../../editors/emacs/modules.mk"
+.include "../../audio/flac/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --emacs=no
+CONFIGURE_ARGS+= --bee=partial
+.endif
+
+
###
### Support FLAC audio file manipulation
###
diff --git a/bigloo/patches/patch-configure b/bigloo/patches/patch-configure
index f3cb7749be..a9a7c67528 100644
--- a/bigloo/patches/patch-configure
+++ b/bigloo/patches/patch-configure
@@ -3,6 +3,8 @@ $NetBSD$
Don't override docdir when prefix is set
Fixed the lack of build, host, and --x-* options.
It always failed to find patch even though it's there.
+Turn off dlopen for NetBSD which will cause the bigloo compiler to
+not work once built
--- configure.orig 2023-12-22 16:18:46.000000000 +0000
+++ configure
@@ -81,3 +83,12 @@ It always failed to find patch even though it's there.
fi
# thread local storage
+@@ -3478,7 +3489,7 @@ if [ $action = "all" -o $action = "biglo
+ fi
+
+ # Does the system have dlopen?
+- if [ "$ldopt " != "no-share" ]; then
++ if [ "$ldopt " != "no-share" && "$hostos" != "NetBSD" ]; then
+ if [ "$hostos" = "mingw" ]; then
+ havedlopen=1
+ dlopen=""
Home |
Main Index |
Thread Index |
Old Index