git: a6d41e17f397 - main - devel/pear-PEAR_Info: Change the way *_DEPENDS are set

Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jul 15 20:49:11 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a6d41e17f39751ba524a236fad699d353cca4dac

commit a6d41e17f39751ba524a236fad699d353cca4dac
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-15 20:32:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-15 20:32:03 +0000

    devel/pear-PEAR_Info: Change the way *_DEPENDS are set
    
    - Remove BUILD_DEPENDS
    - Add NO_ARCH
---
 devel/pear-PEAR_Info/Makefile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/devel/pear-PEAR_Info/Makefile b/devel/pear-PEAR_Info/Makefile
index 32b7f5b34ca2..95802c9f794a 100644
--- a/devel/pear-PEAR_Info/Makefile
+++ b/devel/pear-PEAR_Info/Makefile
@@ -10,15 +10,17 @@ COMMENT=	Show Information about your PEAR install and its packages
 
 LICENSE=	PHP301
 
-BUILD_DEPENDS=	${PEARDIR}/Console/Getargs.php:devel/pear-Console_Getargs@${PHP_FLAVOR}
-RUN_DEPENDS=	${PEARDIR}/Console/Getargs.php:devel/pear-Console_Getargs@${PHP_FLAVOR}
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Console_Getargs>=1.3.3:devel/pear-Console_Getargs@${PHP_FLAVOR}
+
+USES=		pear
+USE_PHP=	pcre
+
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	PHPUNIT
 OPTIONS_DEFAULT=PHPUNIT
 PHPUNIT_DESC=	PEAR::PHPUnit support
 
-USES=		pear
-
-PHPUNIT_RUN_DEPENDS=	phpunit:devel/phpunit6@${PHP_FLAVOR}
+PHPUNIT_RUN_DEPENDS=	phpunit6${PHP_PKGNAMESUFFIX}>=3.1.4:devel/phpunit6@${PHP_FLAVOR}
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list