aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc41-withgcjawt/Makefile
blob: 2fcddc88c482617e8e12b9a4267aada496b33e05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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

#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"