pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/guile-slib devel/guile22-slib: Use variable for ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6211dbeecc0c
branches: trunk
changeset: 375233:6211dbeecc0c
user: gdt <gdt%pkgsrc.org@localhost>
date: Thu Mar 10 13:32:36 2022 +0000
description:
devel/guile22-slib: Use variable for guile dep
This does not change the build, but reduces diffs to ../guile-slib
diffstat:
devel/guile-slib/Makefile | 21 ++++++++++++++-------
1 files changed, 14 insertions(+), 7 deletions(-)
diffs (38 lines):
diff -r 36039e0fb841 -r 6211dbeecc0c devel/guile-slib/Makefile
--- a/devel/guile-slib/Makefile Thu Mar 10 10:19:32 2022 +0000
+++ b/devel/guile-slib/Makefile Thu Mar 10 13:32:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2022/03/09 23:29:51 gdt Exp $
+# $NetBSD: Makefile,v 1.52 2022/03/10 13:32:36 gdt Exp $
SLIBVERSION= 3.2.6
DISTNAME= guile-slib-${SLIBVERSION}
@@ -22,15 +22,22 @@
INSTALLATION_DIRS= guile/${GUILE_DIR}/share/guile guile/${GUILE_DIR}/share/guile/site
+# Instructions at
+# https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/SLIB-installation.html
+# say
+# ln -s /usr/local/lib/slib /usr/local/share/guile/2.2/slib
+# We were using site instead of 2.2 in previous guile-slib packages.
+
do-install:
- ${RM} -f ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/slib
+ ${MKDIR} ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/${GUILE_DIR}
${LN} -sf ${PREFIX}/share/slib \
- ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/slib
- ${RM} -f ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/slibcat
- cd ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/slib && \
- GUILE_LOAD_PATH=${PREFIX}/share \
- GUILE_IMPLEMENTATION_PATH=${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site \
+ ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/${GUILE_DIR}/slib
+ cd ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/${GUILE_DIR} && \
+ GUILE_LOAD_PATH=${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/${GUILE_DIR} \
${PREFIX}/guile/${GUILE_DIR}/bin/guile -q -c "(begin (use-modules (ice-9 slib)) (require 'new-catalog))"
+# historical - does not seem to be used in 2.2
+# GUILE_IMPLEMENTATION_PATH=${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share \
+
.include "../../lang/${GUILE_VERSION}/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index