Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 1999 13:51:30 -0500
From:      Ade Lovett <ade@lovett.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13619: www/p5-libwww incorrect dependency ordering
Message-ID:  <E11OQL4-0007eM-00@cobra.lovett.com>

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

>Number:         13619
>Category:       ports
>Synopsis:       www/p5-libwww incorrect dependency ordering
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep  7 12:00:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ade Lovett
>Release:        FreeBSD 3.3-RC i386
>Organization:
Lovett Network Consultancy
>Environment:

	Up to date ports tree.

>Description:

	When building www/p5-libwww from scratch, with none of its
	dependencies installed, net/p5-URI is built before
	converters/p5-MIME-Base64

	This causes the build script for p5-URI to kick out a warning
	message (though doesn't kill the build, as I would expect).


>How-To-Repeat:

	Make sure none of p5-Digest-MD5, p5-MIME-Base64, p5-URI,
	p5-Net and p5-MIME-Base64 are installed, then:

	cd www/p5-libwww; make

	and carefully watch the part where it starts to build p5-URI

>Fix:

	Apply following patch, which reorders the dependencies for
	p5-libwww

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-libwww/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- Makefile	1999/08/31 06:52:14	1.35
+++ Makefile	1999/09/07 18:40:54
@@ -16,9 +16,9 @@
 MAINTAINER=	jfitz@FreeBSD.org
 
 BUILD_DEPENDS=  ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
 		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI \
 		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
-		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
 		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser
 
 USE_PERL5=	YES


	Though a better fix would be to explicitly add in the dependency
	on p5-MIME-Base64 into p5-URI.  Patch as follows:


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/p5-URI/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	1999/08/31 06:49:05	1.6
+++ Makefile	1999/09/07 18:50:10
@@ -14,6 +14,8 @@
 
 MAINTAINER=     ache@FreeBSD.org
 
+BUILD_DEPENDS=	${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+
 USE_PERL5=      YES
 MAN3=   \
 	URI::WithBase.3 \

>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?E11OQL4-0007eM-00>