ports/79147: Fix package build -- ignore perllocal.pod
Rod Taylor
ports at rbt.ca
Wed Mar 23 00:20:03 UTC 2005
>Number: 79147
>Category: ports
>Synopsis: Fix package build -- ignore perllocal.pod
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 23 00:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Rod Taylor
>Release: FreeBSD 5.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD home 5.3-RELEASE FreeBSD 5.3-RELEASE #7: Tue Jan 25 02:28:10 EST 2005 root at home:/usr/obj/usr/src/sys/HOME amd64
>Description:
PointyHat says:
tar: lib/perl5/site_perl/5.8.6/mach/perllocal.pod: Could not stat: No such file or directory
Previously this file was added to pkg-plist as a result of PointyHat not being able to find it.
This patch uses Clements advice about fixing the issue.
>How-To-Repeat:
>Fix:
--- bric.patch begins here ---
Binary files bricolage.orig/.Makefile.swp and bricolage/.Makefile.swp differ
diff -urN bricolage.orig/Makefile bricolage/Makefile
--- bricolage.orig/Makefile Fri Jan 28 03:18:06 2005
+++ bricolage/Makefile Tue Mar 22 17:41:03 2005
@@ -229,6 +229,10 @@
-e "s,%%MAN3PREFIX%%,${MAN3PREFIX},g" \
-e "s,%%MAN1PREFIX%%,${MAN1PREFIX},g" ${WRKSRC}/inst/config.pl
+post-configure:
+ @cd ${WRKSRC}/ && \
+ ${PERL5} -pi -e 's/doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
+
# Install SQL file, upgrade files, and display pkg-message
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/bric_upgrade ${PREFIX}/bin
diff -urN bricolage.orig/pkg-plist bricolage/pkg-plist
--- bricolage.orig/pkg-plist Sat Feb 26 12:52:30 2005
+++ bricolage/pkg-plist Tue Mar 22 17:35:41 2005
@@ -2645,7 +2645,6 @@
bricolage/data/burn/comp/oc_1/story.mc
%%SITE_PERL%%/mach/auto/Bric/.packlist
%%SITE_PERL%%/mach/auto/bric_bin/.packlist
-%%SITE_PERL%%/mach/perllocal.pod
%%SITE_PERL%%/Bric.pm
%%SITE_PERL%%/Bric/DBA.pod
%%SITE_PERL%%/Bric/License.pod
--- bric.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list