pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chezscheme-racket: use TOOLS infrastructure for paxctl, fix configure script portability



Module Name:	pkgsrc-wip
Committed By:	Johann Rudloff <johann%sinyax.net@localhost>
Pushed By:	cypheon
Date:		Thu Oct 13 18:50:53 2022 +0200
Changeset:	aaf480886c0e69b2ce967cf0a9b7d408a721cdb2

Modified Files:
	chezscheme-racket/Makefile
	chezscheme-racket/distinfo
	chezscheme-racket/patches/patch-src_ChezScheme_configure

Log Message:
chezscheme-racket: use TOOLS infrastructure for paxctl, fix configure script portability

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=aaf480886c0e69b2ce967cf0a9b7d408a721cdb2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 chezscheme-racket/Makefile                               |  2 +-
 chezscheme-racket/distinfo                               |  2 +-
 chezscheme-racket/patches/patch-src_ChezScheme_configure | 16 ++++++++--------
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs:
diff --git a/chezscheme-racket/Makefile b/chezscheme-racket/Makefile
index 0fbdc3f45f..f106e4b6fc 100644
--- a/chezscheme-racket/Makefile
+++ b/chezscheme-racket/Makefile
@@ -14,7 +14,7 @@ LICENSE=	apache-2.0
 
 WRKSRC=		${WRKDIR}/racket-${DISTVERS}
 HAS_CONFIGURE=	yes
-USE_TOOLS+=	gmake pkg-config
+USE_TOOLS+=	gmake paxctl pkg-config
 USE_LANGUAGES=	c
 
 CONFLICTS=	chezscheme-[0-9]*
diff --git a/chezscheme-racket/distinfo b/chezscheme-racket/distinfo
index 018753b5bc..ab692a0ea1 100644
--- a/chezscheme-racket/distinfo
+++ b/chezscheme-racket/distinfo
@@ -4,4 +4,4 @@ BLAKE2s (racket-minimal-8.6-src.tgz) = 6a429a827795d056853207552b1fd90c18700ebc3
 SHA512 (racket-minimal-8.6-src.tgz) = 1ac526478dba65b5b9970d531d7a1ed2740ca3b3133e6ccc20c41d9958f046689883648cdd714c0d1fe33aabab8649803f9be0506ec77ec4d7e0c7d9c2f351fc
 Size (racket-minimal-8.6-src.tgz) = 16074810 bytes
 SHA1 (patch-src_ChezScheme_c_expeditor.c) = 9b9d0bd606c010527090bb08e29ccc7be855a3ae
-SHA1 (patch-src_ChezScheme_configure) = e1494f16900307a0ae25bc5e5d089c230672bc64
+SHA1 (patch-src_ChezScheme_configure) = 68f419acdedd0c838a4af42c44889f614210f6e4
diff --git a/chezscheme-racket/patches/patch-src_ChezScheme_configure b/chezscheme-racket/patches/patch-src_ChezScheme_configure
index 002dc161e9..196a45b9a2 100644
--- a/chezscheme-racket/patches/patch-src_ChezScheme_configure
+++ b/chezscheme-racket/patches/patch-src_ChezScheme_configure
@@ -1,15 +1,15 @@
 $NetBSD$
 
-* /usr/sbin is usually not in the $PATH, use absolute path for paxctl
+* use standard `=` for string comparison instead of bashism `==`
 
 --- src/ChezScheme/configure.orig	2022-07-08 06:15:58.000000000 +0000
 +++ src/ChezScheme/configure
-@@ -808,7 +808,7 @@ esac
- # pre- and post-link-executable step for c/Mf-unix
- case "${flagsmuni}" in
-     *nb)
--        exePostStep='paxctl +m'
-+        exePostStep='/usr/sbin/paxctl +m'
+@@ -811,7 +811,7 @@ case "${flagsmuni}" in
+         exePostStep='paxctl +m'
          ;;
      em)
-         if [ "$empetite" == yes ]; then
+-        if [ "$empetite" == yes ]; then
++        if [ "$empetite" = yes ]; then
+             preloadBootFiles="$w/boot/$m/petite.boot"
+         else
+             preloadBootFiles="$w/boot/$m/petite.boot $w/boot/$m/scheme.boot"


Home | Main Index | Thread Index | Old Index