pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/mold



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Wed May 11 07:02:11 UTC 2022

Modified Files:
        pkgsrc/devel/mold: Makefile

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

Thanks to wiz@ once again for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/mold/Makefile

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

Modified files:

Index: pkgsrc/devel/mold/Makefile
diff -u pkgsrc/devel/mold/Makefile:1.14 pkgsrc/devel/mold/Makefile:1.15
--- pkgsrc/devel/mold/Makefile:1.14     Thu May  5 21:22:29 2022
+++ pkgsrc/devel/mold/Makefile  Wed May 11 07:02:11 2022
@@ -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 @@ PTHREAD_AUTO_VARS=   yes
 
 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