summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-RecordParser
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-08-29 12:40:46 +0000
committerjperkin <jperkin>2013-08-29 12:40:46 +0000
commit524023d97dbef41518b36c2a9871b3c764871191 (patch)
tree65c2b51dd27faff9ef591d42a2e0d92b6ed69266 /textproc/p5-Text-RecordParser
parent1e45eb0c3b36cd98d21bd93323a9063c3a06b7ba (diff)
downloadpkgsrc-524023d97dbef41518b36c2a9871b3c764871191.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"