git: 7937200ffc51 - main - www/pear-HTTP_Request: Change the way *_DEPENDS are set

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 12:41:08 UTC
The branch main has been updated by sunpoet:

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

commit 7937200ffc510d43fff10be2f0b4fdd7402b8e04
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 12:34:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 12:39:52 +0000

    www/pear-HTTP_Request: Change the way *_DEPENDS are set
    
    - Remove BUILD_DEPENDS
    - Add NO_ARCH
---
 www/pear-HTTP_Request/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/pear-HTTP_Request/Makefile b/www/pear-HTTP_Request/Makefile
index 6b64660e4af3..70a5298d59b3 100644
--- a/www/pear-HTTP_Request/Makefile
+++ b/www/pear-HTTP_Request/Makefile
@@ -7,11 +7,11 @@ CATEGORIES=	www pear
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	PEAR classes providing an easy way to perform HTTP requests
 
-BUILD_DEPENDS=	${PEARDIR}/Net/URL.php:net/pear-Net_URL@${PHP_FLAVOR}		\
-		${PEARDIR}/Net/Socket.php:net/pear-Net_Socket@${PHP_FLAVOR}
-RUN_DEPENDS=	${PEARDIR}/Net/URL.php:net/pear-Net_URL@${PHP_FLAVOR}		\
-		${PEARDIR}/Net/Socket.php:net/pear-Net_Socket@${PHP_FLAVOR}
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Net_Socket>=1.0.7:net/pear-Net_Socket@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}Net_URL>=1.0.12:net/pear-Net_URL@${PHP_FLAVOR}
 
 USES=		pear
 
+NO_ARCH=	yes
+
 .include <bsd.port.mk>