pkgsrc-WIP-changes archive

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

plan9port: Directly inject PLAN9_TARGET via environment



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Jul 8 16:31:33 2020 +0200
Changeset:	860f3010e0ba34a8fb863c62cbf4d23469b7a188

Modified Files:
	plan9port/Makefile

Log Message:
plan9port: Directly inject PLAN9_TARGET via environment

INSTALL script only support one argument so we could not pass both
`-c' and `-r' options.  Workaround that by just injecting teh PLAN9_TARGET
environment variable.

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

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

diffstat:
 plan9port/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/plan9port/Makefile b/plan9port/Makefile
index da892329cb..cfc733a25b 100644
--- a/plan9port/Makefile
+++ b/plan9port/Makefile
@@ -68,7 +68,7 @@ post-build:
 
 do-install:
 	${RUN} cd ${DESTDIR}${PREFIX}/plan9 && \
-	    ./INSTALL -c -r ${PREFIX}/plan9
+	    PLAN9_TARGET=${PREFIX}/plan9 ./INSTALL -c
 
 .include "../../fonts/fontconfig/buildlink3.mk"
 PTHREAD_AUTO_VARS=	yes


Home | Main Index | Thread Index | Old Index