summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2015-06-29 21:18:09 +0000
committermarkd <markd@pkgsrc.org>2015-06-29 21:18:09 +0000
commit2e32871f79bc78167cc8a25bf054d5a2ee0cf83e (patch)
treef9ba1023f08815d8b3928eb807e87833b7d09fd7 /lang
parent1309328f8c3ad11bdee41d19ddd13b292a0c6032 (diff)
downloadpkgsrc-2e32871f79bc78167cc8a25bf054d5a2ee0cf83e.tar.gz
Make sure we pickup the correct javac.
Diffstat (limited to 'lang')
-rw-r--r--lang/swi-prolog-jpl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/swi-prolog-jpl/Makefile b/lang/swi-prolog-jpl/Makefile
index 4758a7c5a4e..1283c701d7c 100644
--- a/lang/swi-prolog-jpl/Makefile
+++ b/lang/swi-prolog-jpl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/05/28 10:33:00 markd Exp $
+# $NetBSD: Makefile,v 1.2 2015/06/29 21:18:09 markd Exp $
.include "../../lang/swi-prolog-lite/Makefile.common"
@@ -16,10 +16,12 @@ MAKE_JOBS_SAFE= no
CONFIGURE_ENV+= PL=swi-prolog
CONFIGURE_ENV+= PLARCH=${MACHINE_GNU_PLATFORM} # make PLIST consistent
CONFIGURE_ENV+= PKG=jpl
+CONFIGURE_ENV+= JAVAC=${PKG_JAVA_HOME}/bin/javac
CONFIGURE_DIRS+= . packages
BUILD_DIRS+= packages/jpl
INSTALL_DIRS+= packages/jpl
+BUILD_TARGET= libjpl.so jpl.jar
INSTALLATION_DIRS= lib/swi-prolog-${PKGVERSION_NOREV}/bin/${MACHINE_GNU_PLATFORM}