Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Aug 2000 17:05:58 -0700 (PDT)
From:      spcoltri@omcl.org
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/20512: Fix wrong install directory for port www/p5-HTML
Message-ID:  <20000810000558.1660737B89E@hub.freebsd.org>

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

>Number:         20512
>Category:       ports
>Synopsis:       Fix wrong install directory for port www/p5-HTML
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 09 17:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Steve Coltrin
>Release:        4.1-STABLE
>Organization:
Orbital Mind Control Lasers
>Environment:
FreeBSD code.omcl.org 4.1-STABLE FreeBSD 4.1-STABLE #0: Fri Aug  4 17:01:25 MDT 2000     zoot@code.omcl.org:/usr/obj/usr/src/sys/CODE  i386
>Description:
www/p5-HTML installs into lib/perl5/site_perl , rather than
lib/perl5/site_perl/${PERL_VER} . Consequence is that perl cannot find
the module files, and ports which depend on it mistakenly think it is
not installed when it is (and their install breaks when the redundant
install of p5-HTML returns an error).
>How-To-Repeat:
cd /usr/ports/www/p5-HTML && make install && perl -e "use HTML::Base;"
>Fix:
Apply in ports/www :

diff -ur p5-HTML.old/Makefile p5-HTML/Makefile
--- p5-HTML.old/Makefile	Sat Jun 17 17:56:04 2000
+++ p5-HTML/Makefile	Wed Aug  9 17:59:07 2000
@@ -20,8 +20,8 @@
 NO_BUILD=	yes
 
 do-install:
-		@ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/HTML/
-		@ ${INSTALL_DATA} ${WRKDIR}/HTML/Base.pm ${PREFIX}/lib/perl5/site_perl/HTML/
-		@ ${INSTALL_DATA} ${WRKDIR}/html_base.pod ${PREFIX}/lib/perl5/site_perl/
+		@ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/HTML/
+		@ ${INSTALL_DATA} ${WRKDIR}/HTML/Base.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/HTML/
+		@ ${INSTALL_DATA} ${WRKDIR}/html_base.pod ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/
 
 .include <bsd.port.mk>
diff -ur p5-HTML.old/pkg/PLIST p5-HTML/pkg/PLIST
--- p5-HTML.old/pkg/PLIST	Thu Oct 24 02:42:50 1996
+++ p5-HTML/pkg/PLIST	Wed Aug  9 18:01:18 2000
@@ -1,2 +1,2 @@
-lib/perl5/site_perl/HTML/Base.pm
-lib/perl5/site_perl/html_base.pod
+lib/perl5/site_perl/%%PERL_VER%%/HTML/Base.pm
+lib/perl5/site_perl/%%PERL_VER%%/html_base.pod

>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?20000810000558.1660737B89E>