diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-05-04 11:00:43 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-05-04 11:00:43 +0000 |
commit | 927bf46dad4a0b2f430bbc957d13aca13623835e (patch) | |
tree | 0f033f3616467c691ea33855917ae80e331f4d0d /lang | |
parent | 32853344cef98d26f91356d4f42c96b5793e309f (diff) | |
download | pkgsrc-927bf46dad4a0b2f430bbc957d13aca13623835e.tar.gz |
Reset JAVA_HOME and CLASSPATH that defined by user.
Fix build when JAVA_HOME and/or CLASSPATH are defined by user.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/openjdk7/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/openjdk7/Makefile b/lang/openjdk7/Makefile index 389057d9951..a8e301a217c 100644 --- a/lang/openjdk7/Makefile +++ b/lang/openjdk7/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2012/02/16 22:14:12 hans Exp $ +# $NetBSD: Makefile,v 1.30 2012/05/04 11:00:43 ryoon Exp $ DISTNAME= openjdk-7-fcs-src-b147-27_jun_2011 PKGNAME= openjdk7-1.7.0.147.20110811 @@ -65,6 +65,10 @@ MAKE_ENV+= SKIP_COMPARE_IMAGES=true MAKE_ENV+= SKIP_FASTDEBUG_BUILD=yes MAKE_ENV+= SKIP_DEBUG_BUILD=yes +# Avoid build errors when JAVA_HOME and CLASSPATH are defined by user. +MAKE_ENV+= JAVA_HOME= +MAKE_ENV+= CLASSPATH= + MAKE_ENV+= EXTRA_CFLAGS="-DDEFAULT_LIBPATH=\\\"${PREFIX}/lib/jni:${PREFIX}/lib:/lib:/usr/lib\\\"" BUILDDIR= ${WRKSRC}/build/${OPSYS:C/.*BSD/bsd/:S/DragonFly/bsd/}-${MACHINE_ARCH:S/i386/i586/:S/x86_64/amd64/} |