summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormrauch <mrauch@pkgsrc.org>2005-09-11 10:49:35 +0000
committermrauch <mrauch@pkgsrc.org>2005-09-11 10:49:35 +0000
commit02958a05990ba1c39e4d2018b71bf70a462fac60 (patch)
treecb4547d9c2ae9e78c9469ebefd88a301708ee0e6 /misc
parent345ac26c9b4120dec790d5e633417e321e7ad9e3 (diff)
downloadpkgsrc-02958a05990ba1c39e4d2018b71bf70a462fac60.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