portmaster, bison, java/jdk15
Jiawei Ye
leafy7382 at gmail.com
Wed Aug 2 04:16:54 UTC 2006
On 8/2/06, Jiawei Ye <leafy7382 at gmail.com> wrote:
> [ leafy at sh-mail jdk15] $ make -V BUILD_DEPENDS
> gm4:/usr/ports/devel/m4 zip:/usr/ports/archivers/zip
> /usr/X11R6/lib/libXm.so:/usr/ports/x11-toolkits/open-motif
> /usr/local/jdk1.5.0/bin/javac:/usr/ports/java/linux-sun-jdk14
> /usr/X11R6/lib/mozilla/libgtkembedmoz.so:/usr/ports/www/mozilla
> gmake:/usr/ports/devel/gmake pkg-config:/usr/ports/devel/pkg-config
>
> What I meant to say is that, since I have the native JDK15 installed,
> the linux-sun-jdk shouldn't even be listed at all, no matter what
> dependancy it is.
>
> Time for a patch,
>
--- Makefile.orig Wed Aug 2 12:14:00 2006
+++ Makefile Wed Aug 2 12:14:31 2006
@@ -95,9 +95,8 @@
# if no valid jdk found, set dependency
.if !defined(JDK14DIR)
JDK14DIR?= ${LOCALBASE}/linux-sun-jdk${SUN_LINUX_JDK_VERSION}
-.endif
-
BUILD_DEPENDS+= ${JDK14DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk14
+.endif
.if defined(WITHOUT_WEB)
MAKE_ENV+= DONT_BUILD_DEPLOY="YES"
--
"Without the userland, the kernel is useless."
--inspired by The Tao of Programming
More information about the freebsd-ports
mailing list