summaryrefslogtreecommitdiff
path: root/misc/openoffice2
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2008-05-30 16:05:56 +0000
committerhira <hira@pkgsrc.org>2008-05-30 16:05:56 +0000
commit7b9ddf4dc14c37d35891b27e6712df50331639b7 (patch)
treec3c9e7733d49c9335838d188bd21e40ce82bb980 /misc/openoffice2
parentf764574060794ba438e1f7321704e50b18ab7f55 (diff)
downloadpkgsrc-7b9ddf4dc14c37d35891b27e6712df50331639b7.tar.gz
Fix previous commit. Correct paths of hid.lst and testtoolrc.
This should fix PR pkg/38799.
Diffstat (limited to 'misc/openoffice2')
-rw-r--r--misc/openoffice2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/openoffice2/Makefile b/misc/openoffice2/Makefile
index b95fb592eb4..deebae6abc3 100644
--- a/misc/openoffice2/Makefile
+++ b/misc/openoffice2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2008/05/27 15:44:44 hira Exp $
+# $NetBSD: Makefile,v 1.46 2008/05/30 16:05:56 hira Exp $
#
OO_VER= 2.4.0
@@ -136,8 +136,8 @@ post-build:
tar xpfk $$f; \
done; \
done
- chmod ${SHAREMODE} ${WRKDIR/${OO_UNXNAME}/program/hid.lst \
- ${WRKDIR/${OO_UNXNAME}/program/testtoolrc
+ cd ${WRKDIR}${OO_PKGROOT} && \
+ chmod ${SHAREMODE} program/hid.lst program/testtoolrc
${ECHO} "#!${SH}" > ${WRKDIR}/${OO_UNXNAME}
${ECHO} "exec ${PREFIX}/${OO_RELEASE}/program/soffice \"\$$@\"" \
>> ${WRKDIR}/${OO_UNXNAME}