summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>2009-12-07 22:07:23 +0000
committerbad <bad@pkgsrc.org>2009-12-07 22:07:23 +0000
commita1b340bf9797d14b63ffb17b6fc61149c5eab5a6 (patch)
treebe9e6ec94ebf704be82c09164fc31ed4b80bd869 /misc
parent6ed55d41beecd5addbda888564c693589e98409b (diff)
downloadpkgsrc-a1b340bf9797d14b63ffb17b6fc61149c5eab5a6.tar.gz
Remove .orig files left by patch in installation dir.
Noticed by joerg@.
Diffstat (limited to 'misc')
-rw-r--r--misc/openoffice3-bin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/openoffice3-bin/Makefile b/misc/openoffice3-bin/Makefile
index 848cb1af464..15bd0c917a1 100644
--- a/misc/openoffice3-bin/Makefile
+++ b/misc/openoffice3-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/12/02 22:21:16 bad Exp $
+# $NetBSD: Makefile,v 1.3 2009/12/07 22:07:23 bad Exp $
DISTNAME= openoffice3-bin # overridden below
PKGNAME= openoffice3-bin-${OO_RELEASE}
@@ -65,7 +65,9 @@ WRKSRC= ${WRKDIR}/OOO310_m19_native_packed-1_en-US.9420/packages
do-install:
${PATCH} -d ${PREFIX}/openoffice.org${OO_VER}/program < ${FILESDIR}/soffice-patch
+ ${RM} -f ${PREFIX}/openoffice.org${OO_VER}/program/soffice.orig
${PATCH} -d ${PREFIX}/openoffice.org${OO_VER}/program < ${FILESDIR}/spadmin-patch
+ ${RM} -f ${PREFIX}/openoffice.org${OO_VER}/program/spadmin.orig
uniq ${RPM2PKG_PLIST} > ${WRKDIR}/PLIST
.if defined(PKG_JVM) && !empty(PKG_JVM)
${RM} -f ${PREFIX}/bin/soffice