pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/php-orangehrm



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Nov 25 09:15:59 UTC 2022

Modified Files:
        pkgsrc/misc/php-orangehrm: Makefile

Log Message:
php-orangehrm: Fix permissions and use find "+".

Fixes build, but also by using "+" instead of "{} \;", saves around 25,000
unnecessary execs and significantly reduces build and system time.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/misc/php-orangehrm/Makefile

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

Modified files:

Index: pkgsrc/misc/php-orangehrm/Makefile
diff -u pkgsrc/misc/php-orangehrm/Makefile:1.12 pkgsrc/misc/php-orangehrm/Makefile:1.13
--- pkgsrc/misc/php-orangehrm/Makefile:1.12     Sun May 22 13:39:56 2022
+++ pkgsrc/misc/php-orangehrm/Makefile  Fri Nov 25 09:15:59 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/05/22 13:39:56 taca Exp $
+# $NetBSD: Makefile,v 1.13 2022/11/25 09:15:59 jperkin Exp $
 #
 
 DISTNAME=      orangehrm-4.10.1
@@ -37,11 +37,12 @@ CHECK_INTERPRETER_SKIP+=    share/orangehrm
 CHECK_INTERPRETER_SKIP+=       share/orangehrm/upgrader/symfony
 
 pre-install:
-       ${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} \;
+       ${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} +
 
 do-install:
        ${RM} -f symfony/lib/vendor/google/apiclient-services/generator/run_tests.sh.orig
-       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} og-w {} \;
+       ${CHMOD} -R og-w ${WRKSRC}
+       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} +
        cd ${WRKSRC} && pax -rw -pmp * \
                ${DESTDIR}${PREFIX}/${OHRDIR}
 



Home | Main Index | Thread Index | Old Index