pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/php-orangehrm (misc/php-orangehrm) Fix portabilit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c66204b8224d
branches:  trunk
changeset: 378764:c66204b8224d
user:      mef <mef%pkgsrc.org@localhost>
date:      Thu May 05 11:38:09 2022 +0000

description:
(misc/php-orangehrm) Fix portability problem (==)

diffstat:

 misc/php-orangehrm/Makefile                                                                           |   3 +-
 misc/php-orangehrm/distinfo                                                                           |   3 +-
 misc/php-orangehrm/patches/patch-symfony_lib_vendor_google_apiclient-services_generator_run__tests.sh |  15 ++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 01d258c18989 -r c66204b8224d misc/php-orangehrm/Makefile
--- a/misc/php-orangehrm/Makefile       Thu May 05 11:35:57 2022 +0000
+++ b/misc/php-orangehrm/Makefile       Thu May 05 11:38:09 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/05/01 23:34:31 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/05/05 11:38:09 mef Exp $
 #
 
 DISTNAME=      orangehrm-4.10.1
@@ -37,6 +37,7 @@
 CHECK_INTERPRETER_SKIP+=       share/orangehrm/upgrader/symfony
 
 do-install:
+       ${RM} -f symfony/lib/vendor/google/apiclient-services/generator/run_tests.sh.orig
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} og-w {} \;
        cd ${WRKSRC} && pax -rw -pmp * \
                ${DESTDIR}${PREFIX}/${OHRDIR}
diff -r 01d258c18989 -r c66204b8224d misc/php-orangehrm/distinfo
--- a/misc/php-orangehrm/distinfo       Thu May 05 11:35:57 2022 +0000
+++ b/misc/php-orangehrm/distinfo       Thu May 05 11:38:09 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/04/30 02:28:40 wen Exp $
+$NetBSD: distinfo,v 1.7 2022/05/05 11:38:09 mef Exp $
 
 BLAKE2s (orangehrm-4.10.1.zip) = 5c8e65bece6f65cc8b6eaf8ad39b8dd467f344872acf684b30f084c5c44f19cb
 SHA512 (orangehrm-4.10.1.zip) = 7c259f78f194c51abf72bac09407e12ca69b5dfa4e8ba559091e26845688c286def1ef4cccd5b50d8c4a0723b01cc66edd0bde0a28a4a85bf545fa50bdc4f139
 Size (orangehrm-4.10.1.zip) = 44753882 bytes
+SHA1 (patch-symfony_lib_vendor_google_apiclient-services_generator_run__tests.sh) = 31f9135db80f3c6a4149ffcc4fcae8d985b1712d
diff -r 01d258c18989 -r c66204b8224d misc/php-orangehrm/patches/patch-symfony_lib_vendor_google_apiclient-services_generator_run__tests.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/php-orangehrm/patches/patch-symfony_lib_vendor_google_apiclient-services_generator_run__tests.sh     Thu May 05 11:38:09 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-symfony_lib_vendor_google_apiclient-services_generator_run__tests.sh,v 1.1 2022/05/05 11:38:09 mef Exp $
+
+ERROR: [check-portability.awk] symfony/lib/vendor/google/apiclient-services/generator/run_tests.sh:25:   if [ $? == 0 ]; then
+
+--- symfony/lib/vendor/google/apiclient-services/generator/run_tests.sh.orig   2022-03-23 13:53:28.000000000 +0900
++++ symfony/lib/vendor/google/apiclient-services/generator/run_tests.sh        2022-05-05 20:27:42.340500900 +0900
+@@ -22,7 +22,7 @@ cd $TOP/tests
+ find . -name '*_test.py' | while read test
+ do
+   python $test
+-  if [ $? == 0 ]; then
++  if [ $? = 0 ]; then
+     echo "${test}" >> "${SUCCEEDED_FILE}"
+   else
+     echo "${test}" >> "${FAILED_FILE}"



Home | Main Index | Thread Index | Old Index