pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/nqp



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Feb 12 14:38:27 UTC 2024

Modified Files:
        pkgsrc/lang/nqp: Makefile PLIST buildlink3.mk

Log Message:
(lang/nqp) Add  two componet on PLIST, update buildlink3.mk

lang/rakudo wants two componet on @INC path from this package


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/nqp/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/nqp/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/nqp/buildlink3.mk

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

Modified files:

Index: pkgsrc/lang/nqp/Makefile
diff -u pkgsrc/lang/nqp/Makefile:1.47 pkgsrc/lang/nqp/Makefile:1.48
--- pkgsrc/lang/nqp/Makefile:1.47       Mon Feb 12 03:05:43 2024
+++ pkgsrc/lang/nqp/Makefile    Mon Feb 12 14:38:27 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2024/02/12 03:05:43 mef Exp $
+# $NetBSD: Makefile,v 1.48 2024/02/12 14:38:27 mef Exp $
 
 DISTNAME=      nqp-2024.01
 CATEGORIES=    lang perl6
@@ -25,5 +25,18 @@ CONFIGURE_SCRIPT=    Configure.pl
 CONFIGURE_ARGS=                --prefix=${PREFIX:Q} \
                        --backends=moar
 
+# lang/rakudo wants these two *.pm on @INC path as well as 3rdparty/nqp..
+EXTRA_MODULES+=                Config.pm Macros.pm
+
+# please (or let me ) correct later for hard coding
+post-install:
+       ${INSTALL_DIR}                                   ${DESTDIR}${PREFIX}/lib/perl5/site_perl/5.38.0/NQP
+       (cd ${WRKSRC} ; \
+       for i in ${EXTRA_MODULES} ; \
+       do \
+       ${INSTALL}  3rdparty/nqp-configure/lib/NQP/$${i} ${DESTDIR}${PREFIX}/lib/perl5/site_perl/5.38.0/NQP ; \
+       done ; \
+       )
+
 .include "../../devel/MoarVM/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/nqp/PLIST
diff -u pkgsrc/lang/nqp/PLIST:1.2 pkgsrc/lang/nqp/PLIST:1.3
--- pkgsrc/lang/nqp/PLIST:1.2   Tue Sep 26 17:21:08 2017
+++ pkgsrc/lang/nqp/PLIST       Mon Feb 12 14:38:27 2024
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2017/09/26 17:21:08 mspo Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/02/12 14:38:27 mef Exp $
 bin/nqp
 bin/nqp-m
+lib/perl5/site_perl/5.38.0/NQP/Config.pm
+lib/perl5/site_perl/5.38.0/NQP/Macros.pm
 share/nqp/lib/MASTNodes.moarvm
 share/nqp/lib/MASTOps.moarvm
 share/nqp/lib/ModuleLoader.moarvm

Index: pkgsrc/lang/nqp/buildlink3.mk
diff -u pkgsrc/lang/nqp/buildlink3.mk:1.19 pkgsrc/lang/nqp/buildlink3.mk:1.20
--- pkgsrc/lang/nqp/buildlink3.mk:1.19  Sun Jan 14 06:13:32 2024
+++ pkgsrc/lang/nqp/buildlink3.mk       Mon Feb 12 14:38:27 2024
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.19 2024/01/14 06:13:32 mef Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2024/02/12 14:38:27 mef Exp $
 
 BUILDLINK_TREE+=       nqp
 
 .if !defined(NQP_BUILDLINK3_MK)
 NQP_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.nqp+=            nqp>=2023.12
-BUILDLINK_ABI_DEPENDS.nqp+=            nqp>=2023.12
+BUILDLINK_API_DEPENDS.nqp+=            nqp>=2024.01
+BUILDLINK_ABI_DEPENDS.nqp+=            nqp>=2024.01
 BUILDLINK_PKGSRCDIR.nqp?=              ../../lang/nqp
 
 .include "../../devel/MoarVM/buildlink3.mk"



Home | Main Index | Thread Index | Old Index