pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/scons4



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Dec 30 20:01:48 UTC 2023

Modified Files:
        pkgsrc/devel/scons4: Makefile

Log Message:
scons4: Fix install with non-Python 3.11

Tarball has prebuild cache and it will be installed unconditionally
for Python 3.10 or 3.12, for example.
And it does not much PLIST.
Remove it.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/scons4/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/scons4/Makefile
diff -u pkgsrc/devel/scons4/Makefile:1.5 pkgsrc/devel/scons4/Makefile:1.6
--- pkgsrc/devel/scons4/Makefile:1.5    Sat Dec 30 10:47:36 2023
+++ pkgsrc/devel/scons4/Makefile        Sat Dec 30 20:01:48 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/12/30 10:47:36 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2023/12/30 20:01:48 ryoon Exp $
 
 DISTNAME=      SCons-4.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -31,6 +31,9 @@ SUBST_SED.rflag=      -e 's|-Wl,-rpath=|${COM
 
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
+post-patch:
+       ${RM} -fr ${WRKSRC}/SCons/Tool/docbook/__pycache__
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} scons scons-${PYVERSSUFFIX}
        cd ${DESTDIR}${PREFIX}/bin && ${MV} scons-configure-cache scons-configure-cache-${PYVERSSUFFIX}



Home | Main Index | Thread Index | Old Index