aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-06-06 22:06:19 +0800
committermbr <mbr@FreeBSD.org>2002-06-06 22:06:19 +0800
commitab3357b29c40f27a0129d2119a5348f93d7542c5 (patch)
treee7fbb5f43dca09873ef7c1c7ca16d07bcdb2c432 /editors
parent0b2118591821228cd1395e9bfba777a4a4c70d51 (diff)
downloadfreebsd-ports-gnome-ab3357b29c40f27a0129d2119a5348f93d7542c5.tar.gz
freebsd-ports-gnome-ab3357b29c40f27a0129d2119a5348f93d7542c5.tar.zst
freebsd-ports-gnome-ab3357b29c40f27a0129d2119a5348f93d7542c5.zip
Add DMAKE variable we can later use for more targets.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/Makefile14
-rw-r--r--editors/openoffice.org-1.0/Makefile14
-rw-r--r--editors/openoffice/Makefile14
3 files changed, 21 insertions, 21 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index c2fc4d02c4f3..7456ad0023eb 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -61,7 +61,12 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes
WRKSRC= ${WRKDIR}/oo_1.0_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
+LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/
+.if defined(WITH_DEBUG)
+DMAKE= "dmake debug=true"
+.else
+DMAKE= "dmake strip=true"
+.endif
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
@@ -201,13 +206,8 @@ post-patch:
do-build:
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./bootstrap
-.if defined(WITH_DEBUG)
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && dmake debug=true'
-.else
- @cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && dmake strip=true'
-.endif
+ tcsh -c 'source FreeBSDEnv.Set && ${DMAKE}'
pre-install:
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/oo_setup.resp \
diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile
index c2fc4d02c4f3..7456ad0023eb 100644
--- a/editors/openoffice.org-1.0/Makefile
+++ b/editors/openoffice.org-1.0/Makefile
@@ -61,7 +61,12 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes
WRKSRC= ${WRKDIR}/oo_1.0_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
+LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/
+.if defined(WITH_DEBUG)
+DMAKE= "dmake debug=true"
+.else
+DMAKE= "dmake strip=true"
+.endif
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
@@ -201,13 +206,8 @@ post-patch:
do-build:
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./bootstrap
-.if defined(WITH_DEBUG)
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && dmake debug=true'
-.else
- @cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && dmake strip=true'
-.endif
+ tcsh -c 'source FreeBSDEnv.Set && ${DMAKE}'
pre-install:
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/oo_setup.resp \
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile
index c2fc4d02c4f3..7456ad0023eb 100644
--- a/editors/openoffice/Makefile
+++ b/editors/openoffice/Makefile
@@ -61,7 +61,12 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes
WRKSRC= ${WRKDIR}/oo_1.0_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
+LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/
+.if defined(WITH_DEBUG)
+DMAKE= "dmake debug=true"
+.else
+DMAKE= "dmake strip=true"
+.endif
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
@@ -201,13 +206,8 @@ post-patch:
do-build:
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./bootstrap
-.if defined(WITH_DEBUG)
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && dmake debug=true'
-.else
- @cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- tcsh -c 'source FreeBSDEnv.Set && dmake strip=true'
-.endif
+ tcsh -c 'source FreeBSDEnv.Set && ${DMAKE}'
pre-install:
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/oo_setup.resp \