freebsd-ports/lang/gcc42-withgcjawt/Makefile
Maho Nakata a01182c495 If WITHOUT_JAVA is set, of course we don't build JAVA
with gtk (and xlib) awt peer.

Submitted by:	imp
2006-08-10 07:53:06 +00:00

31 lines
731 B
Makefile

# ex:ts=8
# Ports collection makefile for: gcc with gcj+AWT
# Date created: 17 April 2006
# Whom: Maho Nakata <maho@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -withgcjawt
MAINTAINER= maho@FreeBSD.org
MASTERDIR= ${.CURDIR}/../../lang/gcc41
DESCR= ${.CURDIR}/pkg-descr
WITH_JAVA_AWT= yes
.if defined (WITHOUT_JAVA)
BROKEN= "Does not build gcj"
.endif
#weird libtool issue http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28442
EXTRA_PATCHES+= ${.CURDIR}/files/patch-configure
USE_AUTOTOOLS= libtool:15
pre-build:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${SRCDIR}/libjava/configure
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${SRCDIR}/libjava/classpath/configure
.include "${MASTERDIR}/Makefile"