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 build problem



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a6e0967196c
branches:  trunk
changeset: 379720:5a6e0967196c
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun May 22 13:39:56 2022 +0000

description:
misc/php-orangehrm: fix build problem

* Remove "*.orig" files before install.
* Replace interpreter of bash scripts.
* Do not check interpreter for Symfony.

diffstat:

 misc/php-orangehrm/Makefile |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r a533cd86bb3e -r 5a6e0967196c misc/php-orangehrm/Makefile
--- a/misc/php-orangehrm/Makefile       Sun May 22 12:43:09 2022 +0000
+++ b/misc/php-orangehrm/Makefile       Sun May 22 13:39:56 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/05/05 11:38:09 mef Exp $
+# $NetBSD: Makefile,v 1.12 2022/05/22 13:39:56 taca Exp $
 #
 
 DISTNAME=      orangehrm-4.10.1
@@ -18,7 +18,7 @@
 PHP_VERSIONS_ACCEPTED= 56 74 80
 
 EXTRACT_USING=         bsdtar
-USE_TOOLS+=            pax
+USE_TOOLS+=            bash pax
 
 NO_BUILD=      yes
 
@@ -30,12 +30,15 @@
 FILES_SUBST+=          WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
                        OHRDIR=${OHRDIR}
 
-CHECK_INTERPRETER_SKIP+=       share/orangehrm/symfony/lib/vendor/symfony/data/bin/symfony
-CHECK_INTERPRETER_SKIP+=       share/orangehrm/symfony/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/symfony
-CHECK_INTERPRETER_SKIP+=       share/orangehrm/symfony/lib/vendor/symfony/lib/task/generator/skeleton/project/symfony
-CHECK_INTERPRETER_SKIP+=       share/orangehrm/symfony/symfony
+REPLACE_BASH=  installer/cli_common_commands.sh installer/cli_install.sh \
+               travis-config-files/seeddb.sh
+
+CHECK_INTERPRETER_SKIP+=       share/orangehrm/symfony/*
 CHECK_INTERPRETER_SKIP+=       share/orangehrm/upgrader/symfony
 
+pre-install:
+       ${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 {} \;



Home | Main Index | Thread Index | Old Index