(lang/rakodo-star) Add adhoc hack, switching bmake or gmake
This commit is contained in:
parent
c55b4cbaa6
commit
07fd99ce97
|
@ -30,14 +30,20 @@ PKGSRC_MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/lib
|
|||
PLIST_SUBST+= PARROT_VERSION=${PARROT_VERSION:Q}
|
||||
PRINT_PLIST_AWK+= { gsub(/${PARROT_VERSION}/, "$${PARROT_VERSION}") }
|
||||
|
||||
SUBST_CLASSES+= make
|
||||
SUBST_MESSAGE.make= Some needs make, the other needs gmake
|
||||
SUBST_STAGE.make= pre-configure
|
||||
SUBST_FILES.make= lib/actions/install.bash
|
||||
SUBST_SED.make= -e 's,@@GMAKE@@,${PREFIX}/bin/gmake,g'
|
||||
|
||||
do-configure:
|
||||
(cd ${WRKSRC}; ./bin/rstar install)
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC}; ${MAKE})
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC}; ${GMAKE} install)
|
||||
#do-install:
|
||||
# (cd ${WRKSRC}; ${GMAKE} install)
|
||||
|
||||
|
||||
.include "../../devel/MoarVM/buildlink3.mk"
|
||||
|
|
|
@ -4,3 +4,4 @@ SHA1 (rakudo-star-2020.10.tar.gz) = e9caa085894e32581dd2d9fb09ab9e253b758e33
|
|||
RMD160 (rakudo-star-2020.10.tar.gz) = 3e85ef6bd2e997126807e32ebc4e68120b360afe
|
||||
SHA512 (rakudo-star-2020.10.tar.gz) = f8c7ab9e67018db0422f30232180122f25c20f113dd54e85af67e080e9320bb1499930de65464aa299043204503838085322b26cb705246fd4ee8dd9f52c4f42
|
||||
Size (rakudo-star-2020.10.tar.gz) = 17377748 bytes
|
||||
SHA1 (patch-lib_actions_install.bash) = 7bfc52f46e9b0d755a4edb0ad6f08e398394078f
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
$NetBSD$
|
||||
|
||||
One part wants bmake, the other wants gmake
|
||||
|
||||
--- ./lib/actions/install.bash.orig 2020-10-26 00:18:32.000000000 +0900
|
||||
+++ ./lib/actions/install.bash 2020-12-27 14:24:37.872924232 +0900
|
||||
@@ -166,8 +166,8 @@ build_nqp() {
|
||||
perl Configure.pl \
|
||||
--backend="$RSTAR_BACKEND" \
|
||||
"$@" \
|
||||
- && make \
|
||||
- && make install \
|
||||
+ && @@GMAKE@@ \
|
||||
+ && @@GMAKE@@ install \
|
||||
|| return
|
||||
}
|
||||
|
||||
@@ -178,8 +178,8 @@ build_rakudo() {
|
||||
perl Configure.pl \
|
||||
--backend="$RSTAR_BACKEND" \
|
||||
"$@" \
|
||||
- && make \
|
||||
- && make install \
|
||||
+ && @@GMAKE@@ \
|
||||
+ && @@GMAKE@@ install \
|
||||
|| return
|
||||
}
|
||||
|
Loading…
Reference in New Issue