diff options
author | jlam <jlam> | 2001-09-17 18:13:53 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-09-17 18:13:53 +0000 |
commit | 95fc3ca085cf1061308bac916d3da32ac834a793 (patch) | |
tree | 35a1486724649fe5bbfbb6a42f459d96bfb22896 /databases/java-db3 | |
parent | 63cce0821b71ab39fdfcd4fa29548134eb1cfc14 (diff) | |
download | pkgsrc-95fc3ca085cf1061308bac916d3da32ac834a793.tar.gz |
Rename JDK_HOME to JDK_BASE. JDK_HOME is already used as a tunable make
variable in pkgsrc, and shouldn't be used as a local variable by packages.
Diffstat (limited to 'databases/java-db3')
-rw-r--r-- | databases/java-db3/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/databases/java-db3/Makefile b/databases/java-db3/Makefile index c84272ae8c7..20860d3c91b 100644 --- a/databases/java-db3/Makefile +++ b/databases/java-db3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/07/28 17:50:41 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2001/09/17 18:13:53 jlam Exp $ DISTNAME= db-3.2.9 PKGNAME= java-db3-2.9 @@ -12,9 +12,9 @@ COMMENT= Java interface to Sleepycat Software's Berkeley DB version 3 DEPENDS+= db3-2.9:../../databases/db3 USE_JAVA= yes -JDK_HOME= ${JAVA_HOME} -JAVAC= ${JDK_HOME}/bin/javac -JAR= ${JDK_HOME}/bin/jar +JDK_BASE= ${JAVA_HOME} +JAVAC= ${JDK_BASE}/bin/javac +JAR= ${JDK_BASE}/bin/jar JAVACABS= ${JAVAC} USE_BUILDLINK_ONLY= yes @@ -38,8 +38,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix .include "../../mk/bsd.pkg.mk" .if ${PKG_JVM} == "jdk" -CPPFLAGS+= -I${JDK_HOME}/include/netbsd +CPPFLAGS+= -I${JDK_BASE}/include/netbsd .elif ${PKG_JVM} == "sun-jdk" -JDK_HOME= ${LOCALBASE}/java -CPPFLAGS+= -I${JDK_HOME}/include/linux +JDK_BASE= ${LOCALBASE}/java +CPPFLAGS+= -I${JDK_BASE}/include/linux .endif |