Sat Dec 30 20:01:48 2023 UTC (169d)
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.


(ryoon)
diff -r1.5 -r1.6 pkgsrc/devel/scons4/Makefile

cvs diff -r1.5 -r1.6 pkgsrc/devel/scons4/Makefile (expand / switch to context diff)
--- pkgsrc/devel/scons4/Makefile 2023/12/30 10:47:36 1.5
+++ pkgsrc/devel/scons4/Makefile 2023/12/30 20:01:48 1.6
@@ -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}
@@ -30,6 +30,9 @@
 SUBST_SED.rflag=	-e 's|-Wl,-rpath=|${COMPILER_RPATH_FLAG}|g'
 
 INSTALLATION_DIRS=	${PKGMANDIR}/man1
+
+post-patch:
+	${RM} -fr ${WRKSRC}/SCons/Tool/docbook/__pycache__
 
 post-install:
 	cd ${DESTDIR}${PREFIX}/bin && ${MV} scons scons-${PYVERSSUFFIX}