Bug 181745

Summary: [patch update] fix build of p5-Text-RecordParser
Product: Ports & Packages Reporter: Kurt Jaeger <fbsd-ports>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: lth
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kurt Jaeger 2013-09-02 08:30:01 UTC
	textproc/p5-Text-RecordParser fails to build

Fix: 

delete files/ directory, the patch failes to apply and
	does only 'optimize' the build by reducing the build_requires.
How-To-Repeat: 
cd /usr/ports/textproc/p5-Text-RecordParser
make
===> Fetching all distfiles required by p5-Text-RecordParser-1.6.3 for building
===>  Extracting for p5-Text-RecordParser-1.6.3
=> SHA256 Checksum OK for Text-RecordParser-v1.6.3.tar.gz.
===>  Patching for p5-Text-RecordParser-1.6.3
===>  Applying FreeBSD patches for p5-Text-RecordParser-1.6.3
1 out of 1 hunks failed--saving rejects to ./Build.PL.rej
=> Patch patch-Build.PL failed to apply cleanly.
*** [do-patch] Error code 1
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-09-02 10:35:52 UTC
Author: lth
Date: Mon Sep  2 09:35:45 2013
New Revision: 325958
URL: http://svnweb.freebsd.org/changeset/ports/325958

Log:
  - fix broken patch [1]
  - workaround for bug in distribution
  
  PR:		ports/181745
  Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>

Deleted:
  head/textproc/p5-Text-RecordParser/files/
Modified:
  head/textproc/p5-Text-RecordParser/Makefile

Modified: head/textproc/p5-Text-RecordParser/Makefile
==============================================================================
--- head/textproc/p5-Text-RecordParser/Makefile	Mon Sep  2 09:34:04 2013	(r325957)
+++ head/textproc/p5-Text-RecordParser/Makefile	Mon Sep  2 09:35:45 2013	(r325958)
@@ -2,6 +2,7 @@
 
 PORTNAME=	Text-RecordParser
 PORTVERSION=	1.6.3
+PORTREVISION=	1
 CATEGORIES=	textproc perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -30,4 +31,8 @@ MAN3=		Text::RecordParser.3 \
 		Text::RecordParser::Tab.3 \
 		Text::RecordParser::Object.3
 
+post-extract:
+		# workaround for https://rt.cpan.org/Public/Bug/Display.html?id=87855
+		${CHMOD} +w ${WRKSRC}/README.md
+
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Lars Thegler freebsd_committer freebsd_triage 2013-09-02 10:36:08 UTC
State Changed
From-To: open->closed

Committed. Thanks!