pkgsrc-WIP-changes archive

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

(lang/rakudo-star) candidate for update, but broken yet now



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara (mef) <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Sat Oct 31 22:49:19 2020 +0900
Changeset:	d6e5f501eed6723a9f9e8741d2f8818b4016f525

Modified Files:
	rakudo-star/DESCR
	rakudo-star/Makefile
	rakudo-star/buildlink3.mk
	rakudo-star/distinfo
Added Files:
	rakudo-star/TODO

Log Message:
(lang/rakudo-star) candidate for update, but broken yet now

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

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

diffstat:
 rakudo-star/DESCR         |  5 ++++-
 rakudo-star/Makefile      | 42 ++++++++++++++++++++++++++++++------------
 rakudo-star/TODO          | 21 +++++++++++++++++++++
 rakudo-star/buildlink3.mk |  4 ++--
 rakudo-star/distinfo      | 10 +++++-----
 5 files changed, 62 insertions(+), 20 deletions(-)

diffs:
diff --git a/rakudo-star/DESCR b/rakudo-star/DESCR
index 1c86a5ffd2..8c00a75e14 100644
--- a/rakudo-star/DESCR
+++ b/rakudo-star/DESCR
@@ -4,4 +4,7 @@ language. It runs on the Parrot virtual machine.
 The Rakudo Star distribution (fondly called Rakudo *) is the Rakudo
 compiler plus a selection of useful Perl 6 modules, the most recent
 incarnation of the "Using Perl 6" book, and other software that can
-be used with the Rakudo compiler to enhance its utility.
+be used with the Rakudo compiler to enhance its utility.  Rakudo Star
+is meant for early adopters who wish to explore what's possible with
+Rakudo Perl 6 and provide feedback on what works, what doesn't, and
+what else they would like to see included in the distribution.
diff --git a/rakudo-star/Makefile b/rakudo-star/Makefile
index f148f8a3d2..eda138b753 100644
--- a/rakudo-star/Makefile
+++ b/rakudo-star/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2015/10/10 01:57:53 ryoon Exp $
+# $NetBSD: Makefile,v 1.20 2020/08/31 18:09:52 wiz Exp $
 
-DISTNAME=	rakudo-star-2015.11
+DISTNAME=	rakudo-star-2020.10
 CATEGORIES=	lang perl6
 MASTER_SITES=	http://rakudo.org/downloads/star/
 
@@ -9,22 +9,40 @@ HOMEPAGE=	https://rakudo.org/
 COMMENT=	Perl 6 reference implementation
 LICENSE=	artistic-2.0
 
-MAKE_JOBS_SAFE=	no
+#AKE_JOBS_SAFE=	no
 
 .include "../../mk/bsd.prefs.mk"
 
-USE_LANGUAGES=		c c++
-USE_TOOLS+=		perl gmake
-PLIST_SRC+=		${PLIST_SRC_DFLT}
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	perl
+# to find libmoar.so
+LDFLAGS+=	-L ${PREFIX}/lib ${COMPILER_RPATH_FLAG}=${PREFIX}/lib
+
+PLIST_SRC+=	${PLIST_SRC_DFLT}
+
 .if (${OPSYS} != "Darwin")
-PLIST_SRC+=		PLIST.shared
+PLIST_SRC+=	PLIST.shared
+.else
+USE_TOOLS+=	gmake
 .endif
 
-HAS_CONFIGURE=		yes
-CONFIG_SHELL=		${PERL5}
-CONFIGURE_SCRIPT=	Configure.pl
-CONFIGURE_ARGS=		--prefix=${PREFIX} --backends=moar
+#AKE_ENV+=		LD_LIBRARY_PATH=${WRKSRC}/lib:${PREFIX}/lib
+#KGSRC_MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/lib:${PREFIX}/lib
+PKGSRC_MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/lib
+
+PLIST_SUBST+=		PARROT_VERSION=${PARROT_VERSION:Q}
+PRINT_PLIST_AWK+=	{ gsub(/${PARROT_VERSION}/, "$${PARROT_VERSION}") }
+
+do-configure:
+	(cd ${WRKSRC};  ./bin/rstar install)
+
+do-build:
+	(cd ${WRKSRC};  ${MAKE})
+
+do-install:
+	(cd ${WRKSRC};  ${GMAKE} install)
+
 
 .include "../../devel/MoarVM/buildlink3.mk"
-.include "../../wip/nqp/buildlink3.mk"
+.include "../../lang/nqp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/rakudo-star/TODO b/rakudo-star/TODO
new file mode 100644
index 0000000000..a2723cc1a4
--- /dev/null
+++ b/rakudo-star/TODO
@@ -0,0 +1,21 @@
+- Some part needs bmake and the other part needs gmake
+- ./bin/rstar only accepts install as an argument for 
+  our purpose, and 'install' seems to do
+   configure
+   build
+   install
+
+  (and install part needs gmake)
+
+
+current error messages are:
+
+Found /tmp/wip/rakudo-star/work/rakudo-star-2020.10/bin/moar version 2020.10, which is new enough.
+Cleaning up ...
+You can now use '/usr/pkg/bin/gmake' to build NQP.
+After that, '/usr/pkg/bin/gmake test' will run some tests and
+'/usr/pkg/bin/gmake install' will install NQP.
+make[2]: "/tmp/wip/rakudo-star/work/rakudo-star-2020.10/tmp/mktemp.uwgf1qCj/Makefile" line 27: Need an operator
+make[2]: "/tmp/wip/rakudo-star/work/rakudo-star-2020.10/tmp/mktemp.uwgf1qCj/Makefile" line 29: Need an operator
+....
+:
diff --git a/rakudo-star/buildlink3.mk b/rakudo-star/buildlink3.mk
index d8f55ef968..5e5002500c 100644
--- a/rakudo-star/buildlink3.mk
+++ b/rakudo-star/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2015/04/06 08:17:15 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2020/03/08 16:47:52 wiz Exp $
 
 BUILDLINK_TREE+=	rakudo-star
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=	rakudo-star
 RAKUDO_STAR_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.rakudo-star+=		rakudo-star>=2013.08
-BUILDLINK_ABI_DEPENDS.rakudo-star+=		rakudo-star>=2013.08nb5
+BUILDLINK_ABI_DEPENDS.rakudo-star+=		rakudo-star>=2013.08nb15
 BUILDLINK_PKGSRCDIR.rakudo-star?=		../../lang/rakudo-star
 
 .include "../../lang/nqp/buildlink3.mk"
diff --git a/rakudo-star/distinfo b/rakudo-star/distinfo
index c14605dda9..17af35eef7 100644
--- a/rakudo-star/distinfo
+++ b/rakudo-star/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2013/09/13 22:04:07 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2015/11/03 22:50:43 agc Exp $
 
-SHA1 (rakudo-star-2015.11.tar.gz) = e56055e11b7dc8a496de5473632390f879eaa9b0
-RMD160 (rakudo-star-2015.11.tar.gz) = 2aa09f8e60a918d9d8952e9169c78548c440a52a
-SHA512 (rakudo-star-2015.11.tar.gz) = bd6537f090dd258a6f843596a813452a5f62bdc96839f78243e93f32cfa9a70bfdc054ddb923aa8823c3fe3cf3e5698ead6d91cabbe0004979e6967d10d1c8bb
-Size (rakudo-star-2015.11.tar.gz) = 12346203 bytes
+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


Home | Main Index | Thread Index | Old Index