summaryrefslogtreecommitdiff
path: root/devel/jakarta-ant
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-10 01:01:09 +0000
committerjlam <jlam>2002-10-10 01:01:09 +0000
commitd9df32671651ad71c024f091df97ae47537c5f59 (patch)
tree2399291c226930979154ddf72cdfd8db4723ce29 /devel/jakarta-ant
parente6f31d5905756555c42516ef8fae7986ed3453c9 (diff)
downloadpkgsrc-d9df32671651ad71c024f091df97ae47537c5f59.tar.gz
Use PKG_JAVA_HOME consistently instead of JAVA_HOME now that JAVA_HOME is
no longer defined by bsd.pkg.mk.
Diffstat (limited to 'devel/jakarta-ant')
-rw-r--r--devel/jakarta-ant/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/jakarta-ant/Makefile b/devel/jakarta-ant/Makefile
index d1150981a72..805f75bbcdb 100644
--- a/devel/jakarta-ant/Makefile
+++ b/devel/jakarta-ant/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/09/26 09:54:36 abs Exp $
+# $NetBSD: Makefile,v 1.12 2002/10/10 01:01:10 jlam Exp $
#
# NOTE: if you are depending on ant from another package, please be aware that
# the ant team has CHANGED the version numbering scheme. A previous version
@@ -26,7 +26,8 @@ do-build:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} ${SH} bootstrap.sh
post-build:
- ${SED} -e 's,@PREFIX@,${PREFIX},g' -e 's,@JAVA_HOME@,${JAVA_HOME},g' \
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' \
+ -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g' \
< ${FILESDIR}/ant > ${WRKDIR}/ant
do-install: