aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-10 08:28:37 +0800
committerpav <pav@FreeBSD.org>2004-11-10 08:28:37 +0800
commit1c5c992c967894869f0bab45bccd07edb8a0ea81 (patch)
treea38706a1f6257b47fa1fe4ebd479e23ba64e5919 /net
parent97e2b8a9a8fc62f3b181b231cabd0517b6b61467 (diff)
downloadfreebsd-ports-gnome-1c5c992c967894869f0bab45bccd07edb8a0ea81.tar.gz
freebsd-ports-gnome-1c5c992c967894869f0bab45bccd07edb8a0ea81.tar.zst
freebsd-ports-gnome-1c5c992c967894869f0bab45bccd07edb8a0ea81.zip
- Make Auth::SASL dependency optional
- Take maintainership PR: ports/73741 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
Diffstat (limited to 'net')
-rw-r--r--net/pear-Net_SMTP/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/net/pear-Net_SMTP/Makefile b/net/pear-Net_SMTP/Makefile
index 718ca9cc94ec..b6fb844e99f3 100644
--- a/net/pear-Net_SMTP/Makefile
+++ b/net/pear-Net_SMTP/Makefile
@@ -7,14 +7,13 @@
PORTNAME= Net_SMTP
PORTVERSION= 1.2.6
+PORTREVISION= 1
CATEGORIES= net mail www pear
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= antonio@php.net
COMMENT= PEAR class that provides an implementation of the SMTP protocol
-BUILD_DEPENDS= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL \
- ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
-# The Auth_SASL package is no longer absolutely required, but it will be used if it is available.
+BUILD_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= Net
@@ -24,6 +23,13 @@ TESTS= auth.phpt basic.phpt config.php.dist
EXAMPLES= basic.php
_EXAMPLESDIR= docs/examples
+OPTIONS= PEAR_AUTH_SASL "PEAR::Auth_SASL support" off
+
.include <bsd.port.pre.mk>
+
+.if defined(WITH_PEAR_AUTH_SASL)
+BUILD_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL
+.endif
+
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>