pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/chezscheme
Module Name: pkgsrc
Committed By: riastradh
Date: Tue Jan 7 11:56:36 UTC 2025
Modified Files:
pkgsrc/lang/chezscheme: Makefile
Added Files:
pkgsrc/lang/chezscheme: PLIST
Log Message:
lang/chezscheme: Dedynamicize PLIST.
There's only one annoying parameter, and we can scrape it out of the
configure spew once we set a predictable `workarea'.
Revbump just in case I made a mistake in the plist so any discrepancy
will be noisily detected rather than silently ignored.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/chezscheme/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/chezscheme/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/chezscheme/Makefile
diff -u pkgsrc/lang/chezscheme/Makefile:1.3 pkgsrc/lang/chezscheme/Makefile:1.4
--- pkgsrc/lang/chezscheme/Makefile:1.3 Tue Jan 7 08:08:54 2025
+++ pkgsrc/lang/chezscheme/Makefile Tue Jan 7 11:56:36 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2025/01/07 08:08:54 riastradh Exp $
+# $NetBSD: Makefile,v 1.4 2025/01/07 11:56:36 riastradh Exp $
DISTNAME= chezscheme-10.0.0
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=cisco/}
GITHUB_PROJECT= ChezScheme
@@ -30,16 +31,30 @@ CONFIGURE_ARGS+= --temproot=${DESTDIR:Q}
CONFIGURE_ARGS+= --installschemename=${PKGBASE}
CONFIGURE_ARGS+= --installscriptname=${PKGBASE}-script
CONFIGURE_ARGS+= --as-is # skip Git submodule update
+CONFIGURE_ARGS+= --workarea=pkgsrc-build
CONFIGURE_ENV.NetBSD+= PAXCTL=${PAXCTL:Q}
BUILD_TARGET= build
TEST_TARGET= test
-# Chez Scheme uses a very weird scheme of machine type identifier in file
-# paths, and we don't want to replicate the logic in ${WRKSRC/configure
-# here.
-PLIST_TYPE= dynamic
+# Chez uses its own idiosyncratic platform nomenclature, like ta6nb for:
+#
+# - t: threaded
+# - a: amd64
+# - 6: 64-bit
+# - nb: NetBSD
+#
+# Rather than copy the logic mapping OPSYS/MACHINE_ARCH to it, read it
+# out of the file where Chez stores it after configure.
+#
+# XXX There are three possible variables: m, defaultm, and mboot.
+# mboot is probably wrong; not clear whether to use m or defaultm here.
+PLIST_SUBST+= CHEZ_PLATFORM=${CHEZ_PLATFORM}
+CHEZ_PLATFORM= ${CHEZ_PLATFORM_sh:sh}
+CHEZ_PLATFORM_sh= \
+ cd ${WRKSRC:Q} && \
+ ${AWK} -F= '$$1 == "m" { print $$2 }' <pkgsrc-build/Mf-config
.include "../../mk/pax.mk"
.include "../../mk/bsd.pkg.mk"
Added files:
Index: pkgsrc/lang/chezscheme/PLIST
diff -u /dev/null pkgsrc/lang/chezscheme/PLIST:1.1
--- /dev/null Tue Jan 7 11:56:36 2025
+++ pkgsrc/lang/chezscheme/PLIST Tue Jan 7 11:56:36 2025
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2025/01/07 11:56:36 riastradh Exp $
+bin/chezscheme
+bin/chezscheme-script
+bin/petite
+lib/csv${PKGVERSION}/examples/Makefile
+lib/csv${PKGVERSION}/examples/build.zuo
+lib/csv${PKGVERSION}/examples/compat.ss
+lib/csv${PKGVERSION}/examples/crepl.c
+lib/csv${PKGVERSION}/examples/csocket.c
+lib/csv${PKGVERSION}/examples/def.ss
+lib/csv${PKGVERSION}/examples/edit.ss
+lib/csv${PKGVERSION}/examples/ez-grammar-test.ss
+lib/csv${PKGVERSION}/examples/ez-grammar.ss
+lib/csv${PKGVERSION}/examples/fact.ss
+lib/csv${PKGVERSION}/examples/fatfib.ss
+lib/csv${PKGVERSION}/examples/fft.ss
+lib/csv${PKGVERSION}/examples/fib.ss
+lib/csv${PKGVERSION}/examples/foreign.ss
+lib/csv${PKGVERSION}/examples/freq.ss
+lib/csv${PKGVERSION}/examples/interpret.ss
+lib/csv${PKGVERSION}/examples/m4.ss
+lib/csv${PKGVERSION}/examples/macro.ss
+lib/csv${PKGVERSION}/examples/matrix.ss
+lib/csv${PKGVERSION}/examples/object.ss
+lib/csv${PKGVERSION}/examples/power.ss
+lib/csv${PKGVERSION}/examples/queue.ss
+lib/csv${PKGVERSION}/examples/rabbit.ss
+lib/csv${PKGVERSION}/examples/rsa.ss
+lib/csv${PKGVERSION}/examples/scons.ss
+lib/csv${PKGVERSION}/examples/setof.ss
+lib/csv${PKGVERSION}/examples/socket.ss
+lib/csv${PKGVERSION}/examples/template.ss
+lib/csv${PKGVERSION}/examples/unify.ss
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/chezscheme
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/chezscheme-script
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/chezscheme-script.boot
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/chezscheme.boot
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/libkernel.a
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/liblz4.a
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/libz.a
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/main.o
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/petite
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/petite.boot
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/revision
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/scheme.boot
+lib/csv${PKGVERSION}/${CHEZ_PLATFORM}/scheme.h
+man/man1/chezscheme.1
+man/man1/petite.1
Home |
Main Index |
Thread Index |
Old Index