summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormrauch <mrauch>2005-09-11 10:49:35 +0000
committermrauch <mrauch>2005-09-11 10:49:35 +0000
commit9259319ae158d2f08b909b3062bd4b8ccf864fc1 (patch)
treecb4547d9c2ae9e78c9469ebefd88a301708ee0e6 /misc
parent69a812a1558813ae82cc81f838aba0e35dd23580 (diff)
downloadpkgsrc-9259319ae158d2f08b909b3062bd4b8ccf864fc1.tar.gz
Fix the mechanism which sets the temporary directory where
OpenOffice.org will unpack intermediate files during install. The package default /tmp may have not enough space. Problem reported by Perry Metzger via mail to tech-pkg.
Diffstat (limited to 'misc')
-rw-r--r--misc/openoffice-bin/Makefile6
-rw-r--r--misc/openoffice/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/misc/openoffice-bin/Makefile b/misc/openoffice-bin/Makefile
index 1718a946744..43afd798fbb 100644
--- a/misc/openoffice-bin/Makefile
+++ b/misc/openoffice-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/07/29 00:54:41 grant Exp $
+# $NetBSD: Makefile,v 1.10 2005/09/11 10:49:35 mrauch Exp $
PKGNAME= openoffice-bin-${OO_VER}
PKGREVISION= 1
@@ -34,7 +34,7 @@ ONLY_FOR_PLATFORM= NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
ONLY_FOR_PLATFORM+= Linux-*-i[3-6]86
ONLY_FOR_PLATFORM+= SunOS-*-*
-TEMP?= ${WRKSRC}
+TEMP?= ${WRKDIR}
CHECK_SHLIBS= no
.include "../../mk/bsd.prefs.mk"
@@ -81,7 +81,7 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/OpenOffice.org${OO_VER}/program
${INSTALL_DATA} ${WRKDIR}/openoffice-linux-112-services.rdb \
${PREFIX}/OpenOffice.org${OO_VER}/program/services.rdb
- ${SH} -c "cd ${WRKSRC}; ./install --prefix=${PREFIX}"
+ cd ${WRKSRC}; ${SETENV} TEMP=${TEMP} ./install --prefix=${PREFIX}
${INSTALL_LIB} ${DISTDIR}/libsot645li.so \
${PREFIX}/OpenOffice.org${OO_VER}/program/libsot645li.so
${RM} -f ${PREFIX}/bin/soffice.orig
diff --git a/misc/openoffice/Makefile b/misc/openoffice/Makefile
index 55721bc5f76..490ea808cbb 100644
--- a/misc/openoffice/Makefile
+++ b/misc/openoffice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2005/07/16 19:10:39 jlam Exp $
+# $NetBSD: Makefile,v 1.69 2005/09/11 10:49:35 mrauch Exp $
DISTNAME= openoffice-1.1.4
PKGREVISION= 2
@@ -42,7 +42,7 @@ CONFIGURE_ARGS+= --enable-mozilla --disable-java
CONFIGURE_ARGS+= --with-lang="AFRIK","ARAB","BASQUE","CHINSIM","CHINTRAD","CZECH","DAN","DTCH","ENUS","ESTONIAN","FINN","FREN","GAL","GREEK","HEBREW","HUNG","ITAL","JAPN","KOREAN","LITHUANIAN","NORBOK","NORNYN","NSOTHO","POL","PORT","PORTBR","RUSS","SLOVAK","SLOVENIAN","SPAN","SWED","TURK","WELSH","ZULU"
CONFIGURE_ARGS+= --with-dict=ALL
-TEMP?= ${WRKSRC}
+TEMP?= ${WRKDIR}
UNLIMIT_RESOURCES+= datasize
PLIST_SRC+= PLIST.common
@@ -85,7 +85,7 @@ pre-install:
>${WRKSRC}/../instsetoo/${OPENOFFICE_OUTPATH}.pro/${OPENOFFICE_LANGCODE}/normal/setup.ins
do-install:
- ${SH} -c "cd ${WRKSRC}/../instsetoo/${OPENOFFICE_OUTPATH}.pro/${OPENOFFICE_LANGCODE}/normal; ./install --prefix=${PREFIX}"
+ cd ${WRKSRC}/../instsetoo/${OPENOFFICE_OUTPATH}.pro/${OPENOFFICE_LANGCODE}/normal; ${SETENV} TEMP=${TEMP} ./install --prefix=${PREFIX}"
${TOUCH} ${PREFIX}/${OPENOFFICE_VERSION}/help/${OPENOFFICE_HELPCODE}/common.tree
${TOUCH} ${PREFIX}/${OPENOFFICE_VERSION}/help/${OPENOFFICE_HELPCODE}/schart.tree
${TOUCH} ${PREFIX}/${OPENOFFICE_VERSION}/help/${OPENOFFICE_HELPCODE}/sdraw.tree