aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc46
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-08-08 20:35:07 +0800
committermaho <maho@FreeBSD.org>2006-08-08 20:35:07 +0800
commit2cb98649d48cd1aeecb28c8aae33f6476da3fe2a (patch)
tree88ccac5141cabba9e771ef06a81b7ec8889a2424 /lang/gcc46
parent84e82307d47c50bdf6fdb46384c31f6fcf842aac (diff)
downloadfreebsd-ports-gnome-2cb98649d48cd1aeecb28c8aae33f6476da3fe2a.tar.gz
freebsd-ports-gnome-2cb98649d48cd1aeecb28c8aae33f6476da3fe2a.tar.zst
freebsd-ports-gnome-2cb98649d48cd1aeecb28c8aae33f6476da3fe2a.zip
Setting java.home, changing default awt peer to gtk,
and using cairo backend for WITH_JAVA_AWT Approved by: gerald
Diffstat (limited to 'lang/gcc46')
-rw-r--r--lang/gcc46/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index 644016f78637..9cf7dec0693c 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -25,6 +25,9 @@ COMMENT?= GNU Compiler Collection 4.2
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
mpfr.1:${PORTSDIR}/math/mpfr
.endif
+.if defined(WITH_JAVA_AWT)
+LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
+.endif
SUFFIX= 42
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
@@ -66,7 +69,9 @@ CONFIGURE_ARGS+= --disable-nls \
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
--infodir=${PREFIX}/${INFO_PATH}/gcc${SUFFIX}
.if defined(WITH_JAVA_AWT)
-CONFIGURE_ARGS+= --enable-java-awt=xlib,gtk
+CONFIGURE_ARGS+= --with-java-home=${PREFIX}/lib/jvm/java-1.4.2-gcj${SUFFIX}-1.4.2.0/jre \
+ --enable-java-awt=gtk,xlib \
+ --enable-gtk-cairo
.endif
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap-lean