summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorbad <bad>2009-12-07 22:07:23 +0000
committerbad <bad>2009-12-07 22:07:23 +0000
commit1c9acf78d7f72a735581dc5deac5d5f50692f4d2 (patch)
treebe9e6ec94ebf704be82c09164fc31ed4b80bd869 /misc
parent5c12bf64d6bb74018707166f2a075047bdd62990 (diff)
downloadpkgsrc-1c9acf78d7f72a735581dc5deac5d5f50692f4d2.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