49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2002/12/29 20:41:07 fgsch Exp $
|
|
|
|
COMMENT= "Java(tm) runtime library, mainly for egcs"
|
|
|
|
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
|
|
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>
|