summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-16 10:51:25 +0000
committerrillig <rillig@pkgsrc.org>2007-02-16 10:51:25 +0000
commit5ae015bd36ef6cd761159207ffb34ab1b791eee0 (patch)
tree6d6c19e47be50690086caa09966080da730aaa56 /databases
parent1654273adabb7ab22dcffd24ff626838ab667276 (diff)
downloadpkgsrc-5ae015bd36ef6cd761159207ffb34ab1b791eee0.tar.gz
On NetBSD, building with jdk 1.1.8 results in a segmentation fault, so
use a newer JDK here.
Diffstat (limited to 'databases')
-rw-r--r--databases/java-db3/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/java-db3/Makefile b/databases/java-db3/Makefile
index e6dc3512247..7dfed786135 100644
--- a/databases/java-db3/Makefile
+++ b/databases/java-db3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2007/01/31 00:04:11 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2007/02/16 10:51:25 rillig Exp $
DISTNAME= db-3.3.11
PKGNAME= java-db3-3.11.2
@@ -43,6 +43,13 @@ CPPFLAGS+= ${BUILDLINK_CPPFLAGS.${PKG_JVM}}
BUILD_TARGET= libdb3_java.la java
INSTALL_TARGET= install_java
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+# jdk 1.1.8 leads to segmentation faults when building the package.
+USE_JAVA2= yes
+.endif
+
.include "../../databases/db3/buildlink3.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"