Friday, July 01, 2022

[new] lang/guile3

Hi all,

I've been keeping this into mystuff/ for too much i think. It's a port
for guile 3, or the GNU Ubiquitous Intelligent Language for Extensions.
It's a scheme dialect.

I'm not a guile hacker, but I somewhat play with it from time to time
and I think it's nice to have it packaged. I've mostly played with it
inside Emacs using the geiser and geiser-guile packages.

To avoid a conflict with guile2, I'm attaching a diff that drops the
info pages from it, just like we're currently doing guile2 to avoid a
conflict with lang/guile.

I'm slightly worried that some software that is currently using guile1
or guile2 could switch to guile3 during configure if found.

All but two tests are passing \o/

Tested only on amd64 for now. Comments/ok? :)

Thanks,

Omar Polo

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/lang/guile2/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile 11 Mar 2022 19:29:02 -0000 1.29
+++ Makefile 13 May 2022 11:22:35 -0000
@@ -8,6 +8,7 @@ COMMENT= GNU's Ubiquitous Intelligent L
VERSION= 2.2.7
DISTNAME= guile-${VERSION}
PKGNAME= guile2-${VERSION}
+REVISION= 0
V= ${VERSION:R}
SUBST_VARS= V

@@ -75,6 +76,8 @@ post-install:
install -d ${PREFIX}/share/guile/site/${V}/
# fix conflict with devel/guile
mv ${PREFIX}/share/aclocal/guile{,${V}}.m4
+ # fix conflict with lang/guile3
+ rm -rf ${PREFIX}/info

.include <bsd.port.mk>

Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/lang/guile2/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST 11 Mar 2022 19:29:02 -0000 1.10
+++ pkg/PLIST 13 May 2022 11:44:16 -0000
@@ -132,8 +132,6 @@ include/guile/${V}/libguile/weak-set.h
include/guile/${V}/libguile/weak-table.h
include/guile/${V}/libguile/weak-vector.h
include/guile/${V}/readline.h
-@info info/guile.info
-@info info/r5rs.info
@comment lib/charset.alias
lib/guile/
lib/guile/${V}/

No comments:

Post a Comment