pkgsrc-Changes archive

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

CVS commit: pkgsrc/filesystems/glusterfs



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Aug 22 13:50:14 UTC 2025

Modified Files:
        pkgsrc/filesystems/glusterfs: Makefile

Log Message:
glusterfs: fix package

on some systems, .opt-2.pyc files are created - remove them


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 pkgsrc/filesystems/glusterfs/Makefile

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

Modified files:

Index: pkgsrc/filesystems/glusterfs/Makefile
diff -u pkgsrc/filesystems/glusterfs/Makefile:1.130 pkgsrc/filesystems/glusterfs/Makefile:1.131
--- pkgsrc/filesystems/glusterfs/Makefile:1.130 Thu Apr 17 21:50:41 2025
+++ pkgsrc/filesystems/glusterfs/Makefile       Fri Aug 22 13:50:13 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.130 2025/04/17 21:50:41 wiz Exp $
+# $NetBSD: Makefile,v 1.131 2025/08/22 13:50:13 wiz Exp $
 
 DISTNAME=      glusterfs-10.4
 PKGREVISION=   11
@@ -146,6 +146,11 @@ pre-build:
 
 .include "../../mk/bsd.prefs.mk"
 
+.PHONY: clean-opt
+post-install: clean-opt
+clean-opt:
+       ${FIND} ${DESTDIR}${PREFIX} -name *.opt-2.pyc -delete || ${TRUE}
+
 .if ${OPSYS} == "Linux"
 post-install:
        ${INSTALL_SCRIPT} ${DESTDIR}/sbin/mount.glusterfs \



Home | Main Index | Thread Index | Old Index