summaryrefslogtreecommitdiff
path: root/lang/kaffe/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-13 07:33:27 +0000
committerjlam <jlam@pkgsrc.org>2002-10-13 07:33:27 +0000
commit2349ec912a94cb4d9ecc900d79db6547d133af45 (patch)
tree6309f6b21710c04403fc4b18fbfe4b177870013a /lang/kaffe/Makefile
parentb24f715c509211e8814179fd8529b8d28f7fd6e1 (diff)
downloadpkgsrc-2349ec912a94cb4d9ecc900d79db6547d133af45.tar.gz
* Use buildlink2.
* Build the kaffe package with PREFIX=${LOCALBASE}/java/kaffe and adjust the PLIST accordingly. This is to make the Java VM packages consistently return JAVA_HOME from `pkg_info -qp <jvm-pkg>'. * License file was wrongly being installed as ${PREFIX}/share. * Separate out last half of DESCR into a more appropriate MESSAGE file.
Diffstat (limited to 'lang/kaffe/Makefile')
-rw-r--r--lang/kaffe/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/kaffe/Makefile b/lang/kaffe/Makefile
index a1dfb107a4d..fc66f5d2438 100644
--- a/lang/kaffe/Makefile
+++ b/lang/kaffe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2002/09/08 09:03:37 zuntum Exp $
+# $NetBSD: Makefile,v 1.41 2002/10/13 07:33:28 jlam Exp $
#
DISTNAME= kaffe-1.0.7
@@ -17,11 +17,11 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
ONLY_FOR_PLATFORM= *-*-arm32 *-*-i386 *-*-m68k *-*-mips* *-*-sparc *-*-powerpc
GNU_CONFIGURE= yes
-GNU_CONFIGURE_PREFIX= ${PREFIX}/java/kaffe
-CONFIGURE_ARGS+= --with-includes=""
-CONFIGURE_ARGS+= --with-libraries=""
CPPFLAGS+= -Dunix
+JVM_HOME= ${LOCALBASE}/java/kaffe
+NO_MTREE= # defined, since we change PREFIX below
+
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "NetBSD") && (${OBJECT_FMT} == "ELF")
@@ -32,10 +32,8 @@ CPPFLAGS+= -Dunix
CONFIGURE_ENV+= VM_LIBS="-lc"
.endif
-
post-install:
- ${INSTALL_DATA} ${WRKSRC}/license.terms \
- ${PREFIX}/java/kaffe/share
+ ${INSTALL_DATA} ${WRKSRC}/license.terms ${PREFIX}
test:
@cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} check
@@ -47,3 +45,5 @@ test:
.include "../../graphics/png/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
+
+PREFIX= ${JVM_HOME}