summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-08-25 21:14:00 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-08-25 21:14:00 +0000
commitfa61be99d5dbc05539fcbe5ad6271d5d89cb9e3a (patch)
tree1c96c4162dba45e4e6368aea65d3ff0d7ce85f58 /editors/openoffice-1.0
parentUpgrade to JUnit 3.8. (diff)
Work around yet another stupid bug in bsd.port.mk. WRKDIR is defined in the
post section, so any exists() will fail. I still don't understand why CDROM and WRKDIR and such paths need to be defined in the post section. Use build command instead of dmake. This is the common way to build also subprojects of OO.org
Notes
Notes: svn path=/head/; revision=64997
Diffstat (limited to 'editors/openoffice-1.0')
-rw-r--r--editors/openoffice-1.0/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index 3675db769315..acb0ee2fea70 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -112,18 +112,19 @@ JAVAVM= ${JDK13DIR}/bin/java
GNU_CONFIGURE= yes
USE_AUTOCONF= yes
-WRKSRC= ${WRKDIR}/oo_1.0.1_src/config_office
+WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
+WRKSRC= ${WRKDIR}/oo_1.0.1_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/
.if defined(WITH_DEBUG)
CFLAGS+= -g
.if ${WITH_DEBUG} == 2
-DMAKE= dmake debug="true"
+BUILD= build debug="true"
.else
-DMAKE= dmake
+BUILD= build
.endif
.else
-DMAKE= dmake strip="true"
+BUILD= build strip="true"
.endif
.if !defined(DISPLAY)
@@ -389,16 +390,16 @@ do-build:
.endif
.if !defined(DISPLAY)
@cd ${WRKSRC}/.. && DISPLAY=${DISPLAYHACK} PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && unsetenv TOP && ${DMAKE}'
+ tcsh -c 'source FreeBSDEnv.Set && unsetenv TOP && ${BUILD}'
@${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill
@${RM} -f ${WRKDIR}/.Xvfb.pid
.else
@cd ${WRKSRC}/.. && DISPLAY=${DISPLAY} PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && unsetenv TOP && ${DMAKE}'
+ tcsh -c 'source FreeBSDEnv.Set && unsetenv TOP && ${BUILD}'
.endif
.if defined(LANG_PKGNAME)
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && unsetenv TOP && cd instsetoo/util && ${DMAKE} LANGEXT=${LANGEXT}'
+ tcsh -c 'source FreeBSDEnv.Set && unsetenv TOP && cd instsetoo/util && ${BUILD} LANGEXT=${LANGEXT}'
.endif
pre-install: