Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 23:35:53 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29690: Fix ftp/p5-Net-FTPServer build on -stable
Message-ID:  <20010814033553.E1BDDD925@electron.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         29690
>Category:       ports
>Synopsis:       Fix ftp/p5-Net-FTPServer build on -stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 13 20:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD entropy.databits.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Wed Aug 8 12:51:05 EDT 2001 root@entropy.databits.net:/usr/obj/usr/src/sys/ENTROPY i386

>Description:

The Perl in RELENG_4 doesn't include IO::Dir by default.

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ftp/p5-Net-FTPServer/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	2001/08/11 04:32:29	1.2
+++ Makefile	2001/08/14 03:33:34
@@ -23,6 +23,12 @@
 		${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500007
+BUILD_DEPENDS+=	${SITE_PERL}/IO/Dir.pm:${PORTSDIR}/devel/p5-IO
+.endif
+
 USE_PERL5=	yes
 SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
 PERL_CONFIGURE=	yes
@@ -60,4 +66,4 @@
 	@${PERL} -pi -e 's,PREFIX,${PREFIX},g' ${PKGMESSAGE}
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010814033553.E1BDDD925>