openbsd-ports/lang/libgcj/Makefile
2001-01-05 16:35:58 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2001/01/05 16:36:00 brad Exp $
BROKEN= "sources no longer exist"
# This should probably be part of the egcs port eventually.
# If you want to be built with egcs-snapshot instead of in-tree, depend on that
#BUILD_DEPENDS= egcj::lang/egcs/snapshot
# In the end we want to use autoconf to regen configure after patching
#BUILD_DEPENDS+= autoconf::devel/autoconf
CATEGORIES= lang
NEED_VERSION= 1.305
FAKE=No
MAINTAINER= Niklas Hallqvist <niklas@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
# These are for snapshot trackers
#LATEST_DATE= 1999-07-08
#DISTNAME= libgcj-snapshot-${LATEST_DATE}
#MASTER_SITES= ftp://ftp.appli.se/pub/ \
# ftp://sourceware.cygnus.com/pub/java/snapshots/
DISTNAME= libgcj-2.95
MASTER_SITES= ftp://sourceware.cygnus.com/pub/java/
#CFLAGS= -O2 -g
CFLAGS= -O2
CONFIGURE_STYLE=gnu
# If you use egcs-snapshot...
#CONFIGURE_ENV= CXX=ec++ CC=egcc
USE_GMAKE= yes
SEPARATE_BUILD= yes
# If you use egcs-snapshot...
#MAKE_FLAGS= GCJ=egcj
# does not work yet as libgcj is a bit messed up
#post-patch:
# cd ${WRKSRC}/libjava && PATH=${PORTPATH} autoreconf
.include <bsd.port.mk>