summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-RecordParser
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-08-29 12:40:46 +0000
committerjperkin <jperkin@pkgsrc.org>2013-08-29 12:40:46 +0000
commit5b2378226307febc666fc96313a7d21d6716b2be (patch)
tree65c2b51dd27faff9ef591d42a2e0d92b6ed69266 /textproc/p5-Text-RecordParser
parentb34a6c231cabbf21ee2a16e805eaa78ab73ebb1c (diff)
downloadpkgsrc-5b2378226307febc666fc96313a7d21d6716b2be.tar.gz
Remove README.md prior to building. There is a copy distributed in the
distfile which is unwriteable, breaking unprivileged builds.
Diffstat (limited to 'textproc/p5-Text-RecordParser')
-rw-r--r--textproc/p5-Text-RecordParser/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/p5-Text-RecordParser/Makefile b/textproc/p5-Text-RecordParser/Makefile
index f56c61dcf9f..9e31a298d0b 100644
--- a/textproc/p5-Text-RecordParser/Makefile
+++ b/textproc/p5-Text-RecordParser/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2013/08/26 01:03:13 wen Exp $
+# $NetBSD: Makefile,v 1.12 2013/08/29 12:40:46 jperkin Exp $
#
DISTNAME= Text-RecordParser-v1.6.3
@@ -35,5 +35,9 @@ REPLACE_PERL+= bin/tab2graph
REPLACE_PERL+= bin/tablify
REPLACE_PERL+= bin/tabmerge
+# File is unwriteable but is generated during the build.
+pre-build:
+ ${RM} -f ${WRKSRC}/README.md
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"