pkgsrc-WIP-changes archive

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

ppc-morphos-sdk: Use correct perl interpreter



Module Name:	pkgsrc-wip
Committed By:	Jonathan Schleifer <js%nil.im@localhost>
Pushed By:	js
Date:		Sun Feb 9 00:38:40 2020 +0100
Changeset:	3cba504d18144cb4f5f65a881cb2a76218ff72a6

Modified Files:
	ppc-morphos-sdk/Makefile

Log Message:
ppc-morphos-sdk: Use correct perl interpreter

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

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

diffstat:
 ppc-morphos-sdk/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/ppc-morphos-sdk/Makefile b/ppc-morphos-sdk/Makefile
index 60b5673ec3..f71c283a2b 100644
--- a/ppc-morphos-sdk/Makefile
+++ b/ppc-morphos-sdk/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 PKGNAME=	ppc-morphos-${DISTNAME}
-PKGREVISION=	1
+PKGREVISION=	2
 DISTNAME=	sdk-20191111
 CATEGORIES=	cross
 MASTER_SITES=	https://morphos-team.net/files/
@@ -15,7 +15,7 @@ COMMENT=	SDK for ppc-morphos-gcc
 DEPENDS+=	p5-Tie-IxHash-[0-9]*:../../devel/p5-Tie-IxHash
 
 WRKSRC=		${WRKDIR}/morphossdk
-USE_TOOLS+=	xzcat gtar
+USE_TOOLS+=	xzcat gtar gsed
 USE_LANGUAGES=	# none
 
 do-build:
@@ -34,5 +34,8 @@ do-install:
 			"Development/[Gg][Gg]/includestd" \
 			"Development/[Gg][Gg]/os-include" \
 			"Development/[Gg][Gg]/bin/*.pl"
+	gsed -i 's,/usr/bin/perl,${PERL5},g' \
+		${DESTDIR}${PREFIX}/gg/bin/cvinclude.pl \
+		${DESTDIR}${PREFIX}/gg/bin/genfd.pl
 
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index