aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc41
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-08-07 14:09:43 +0800
committermaho <maho@FreeBSD.org>2006-08-07 14:09:43 +0800
commitf93c198f151f8cd5feb47ba3690b5e1c5028f87c (patch)
tree1db2646c28c88eae834b034c9a5d06e0efcc4821 /lang/gcc41
parent3cd42c7ddee58e6b63467a09db69c1c171de1d60 (diff)
downloadfreebsd-ports-gnome-f93c198f151f8cd5feb47ba3690b5e1c5028f87c.tar.gz
freebsd-ports-gnome-f93c198f151f8cd5feb47ba3690b5e1c5028f87c.tar.zst
freebsd-ports-gnome-f93c198f151f8cd5feb47ba3690b5e1c5028f87c.zip
* enabling gtk as default awt peer
* setting java.home property * use cairo backend Approved by: gerald (implicit)
Diffstat (limited to 'lang/gcc41')
-rw-r--r--lang/gcc41/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile
index a5e6493eac04..dcb57eaddc5f 100644
--- a/lang/gcc41/Makefile
+++ b/lang/gcc41/Makefile
@@ -25,6 +25,9 @@ COMMENT?= GNU Compiler Collection 4.1
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= 41
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