pkgsrc-WIP-changes archive

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

mozjs78: Use PREFIX instead of LOCALBASE



Module Name:	pkgsrc-wip
Committed By:	nia <nia%netbsd.org@localhost>
Pushed By:	nee
Date:		Tue Nov 10 01:31:50 2020 +0100
Changeset:	2a691258d4bc50b0e3f6c1e0a935d03ed193553c

Modified Files:
	mozjs78/Makefile

Log Message:
mozjs78: Use PREFIX instead of LOCALBASE

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

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

diffstat:
 mozjs78/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/mozjs78/Makefile b/mozjs78/Makefile
index d223f51aec..8438c24fb4 100644
--- a/mozjs78/Makefile
+++ b/mozjs78/Makefile
@@ -43,10 +43,10 @@ PYTHON_VERSIONS_ACCEPTED=	27
 PYTHON_FOR_BUILD_ONLY=		tool
 .if !empty(PYTHON_VERSION_DEFAULT:M3[6789])
 TOOL_DEPENDS+=			python${PYTHON_VERSION_DEFAULT}-[0-9]*:../../lang/python${PYTHON_VERSION_DEFAULT}
-ALL_ENV+=			PYTHON3=${LOCALBASE}/bin/python${PYTHON_VERSION_DEFAULT:S/3/3./}
+ALL_ENV+=			PYTHON3=${PREFIX}/bin/python${PYTHON_VERSION_DEFAULT:S/3/3./}
 .else
 TOOL_DEPENDS+=			python37-[0-9]*:../../lang/python37
-ALL_ENV+=			PYTHON3=${LOCALBASE}/bin/python3.7
+ALL_ENV+=			PYTHON3=${PREFIX}/bin/python3.7
 .endif
 
 pre-configure:


Home | Main Index | Thread Index | Old Index