summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-01-25 05:33:58 +0000
committerkei <kei@pkgsrc.org>2001-01-25 05:33:58 +0000
commit786e2c3873e8009518c07eb572b437a7202fef5f (patch)
tree58d8a3673a4843f483671656b5ec2a027e9a8aff
parent8bb0290f8e3cfec6c6c4367438c4d5c78a69963d (diff)
downloadpkgsrc-786e2c3873e8009518c07eb572b437a7202fef5f.tar.gz
Clean up "*.orig" files after make patch, so they not to be included in binary
package accidentally.
-rw-r--r--misc/tds/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/tds/Makefile b/misc/tds/Makefile
index 6ad9e5fb4b5..9bac71b6988 100644
--- a/misc/tds/Makefile
+++ b/misc/tds/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/01/25 02:43:41 kei Exp $
+# $NetBSD: Makefile,v 1.2 2001/01/25 05:33:58 kei Exp $
#
DISTNAME= tds-1.3.2
@@ -13,4 +13,7 @@ GNU_CONFIGURE= YES
NO_BUILD= YES
+post-patch:
+ @${FIND} ${WRKSRC} -type f -name '*.orig' | xargs ${RM} -f
+
.include "../../mk/bsd.pkg.mk"