summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2013-02-27 15:59:59 +0000
committergdt <gdt@pkgsrc.org>2013-02-27 15:59:59 +0000
commitbf81b6936fe047fe930119a038aedcf4ae0516bc (patch)
tree9478dc98d8675b8febebe4950fdb0f71c54e3194 /net
parent2c735d81a83ba94c43473d5bede462ecfc336def (diff)
downloadpkgsrc-bf81b6936fe047fe930119a038aedcf4ae0516bc.tar.gz
Use -f when removing files pre-install.
Otherwise, they might not be there if install is done twice (e.g., while debugging PLIST).
Diffstat (limited to 'net')
-rw-r--r--net/py-twisted/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/py-twisted/Makefile b/net/py-twisted/Makefile
index e3fcaf78e01..6367b9bfd61 100644
--- a/net/py-twisted/Makefile
+++ b/net/py-twisted/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2013/02/27 15:59:07 gdt Exp $
+# $NetBSD: Makefile,v 1.21 2013/02/27 15:59:59 gdt Exp $
PKGNAME= ${PYPKGPREFIX}-twisted-${TWISTED_VERSION}
PKGREVISION= 1
@@ -23,7 +23,7 @@ CFLAGS.SunOS+= -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -Du_int=uint32_t
# .orig files from patches. This is done pre-install rather than
# post-patch so that mkpatches(1) will still work.
pre-install:
- rm ${WRKSRC}/twisted/runner/portmap.c.orig
+ rm -f ${WRKSRC}/twisted/runner/portmap.c.orig
# Do not "make package" after running "make test"; this will result in files
# being installed that should not be.