freebsd-ports/lang/gcc42-withgcjawt/Makefile
Maho Nakata f068172bab Broken for !i386
Submitted by:	kris via pointyhat
2006-11-15 23:34:31 +00:00

31 lines
743 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/gcc42
DESCR= ${.CURDIR}/pkg-descr
WITH_JAVA_AWT= yes
#weird libtool issue http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28442
EXTRA_PATCHES+= ${.CURDIR}/files/patch-configure
USE_AUTOTOOLS= libtool:15
.if ${MACHINE_ARCH} != i386
BROKEN= Only for gcj supported platforms
.endif
pre-build:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${SRCDIR}/libjava/configure
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${SRCDIR}/libjava/classpath/configure
.include "${MASTERDIR}/Makefile"