ports/97115: [PATCH] net/p5-Net: depends on Authen-SASL conditionally
Yen-Ming Lee
leeym at FreeBSD.org
Thu May 11 02:20:11 UTC 2006
>Number: 97115
>Category: ports
>Synopsis: [PATCH] net/p5-Net: depends on Authen-SASL conditionally
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 11 02:20:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.1-RC i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-RC FreeBSD 6.1-RC #0: Thu May 4 09:18:28 CST
>Description:
- depends on Authen-SASL conditionally
Port maintainer (mat at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.75
>How-To-Repeat:
>Fix:
--- p5-Net-1.19,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/p5-Net/Makefile,v
retrieving revision 1.42
diff -u -u -r1.42 Makefile
--- Makefile 11 Jun 2005 16:12:58 -0000 1.42
+++ Makefile 11 May 2006 02:15:49 -0000
@@ -16,8 +16,7 @@
MAINTAINER= mat at FreeBSD.org
COMMENT= Perl5 modules to access and use network protocols
-RUN_DEPENDS= ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \
- ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
PERL_CONFIGURE= yes
CONFIGURE_ARGS= < /dev/null
@@ -33,4 +32,11 @@
Net::Time.3 \
Net::libnetFAQ.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# Authen-SASL is not available under perl 5.005_03
+.if ${PERL_LEVEL} >= 500600
+RUN_DEPENDS+= ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Net-1.19,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list