pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/mold mold: install phase uses python3 command, p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16e73bfb12a8
branches:  trunk
changeset: 379040:16e73bfb12a8
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Wed May 11 07:02:11 2022 +0000

description:
mold: install phase uses python3 command, provide a symlink.

Thanks to wiz@ once again for the heads up.

diffstat:

 devel/mold/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 13e58e5e5f19 -r 16e73bfb12a8 devel/mold/Makefile
--- a/devel/mold/Makefile       Wed May 11 06:47:12 2022 +0000
+++ b/devel/mold/Makefile       Wed May 11 07:02:11 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2022/05/05 21:22:29 fcambus Exp $
+# $NetBSD: Makefile,v 1.15 2022/05/11 07:02:11 fcambus Exp $
 
 DISTNAME=      mold-1.2.1
 CATEGORIES=    devel
@@ -29,6 +29,10 @@
 
 PYTHON_FOR_BUILD_ONLY= yes
 
+pre-configure:
+       # install phase uses python3 command
+       [ -h "${BUILDLINK_DIR}/bin/python3" ] || ${LN} -s ${PYTHONBIN} "${BUILDLINK_DIR}/bin/python3"
+
 .include "../../devel/mimalloc/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/python/application.mk"



Home | Main Index | Thread Index | Old Index