aboutsummaryrefslogtreecommitdiff
path: root/java/guavac
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-05-12 22:45:03 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-05-12 22:45:03 +0000
commit99f4eb4e5f0a7bd8e12a0389c7ae4f316f7e916d (patch)
tree7684986880ad3b0aa654a9bdd743d60da73e9301 /java/guavac
parent2273cd14305139299fc0db311ca8eb21ceca47ac (diff)
downloadports-99f4eb4e5f0a7bd8e12a0389c7ae4f316f7e916d.tar.gz
ports-99f4eb4e5f0a7bd8e12a0389c7ae4f316f7e916d.zip
Fix up dependencies so this will build in 3.x.
Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Notes
Notes: svn path=/head/; revision=18817
Diffstat (limited to 'java/guavac')
-rw-r--r--java/guavac/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/java/guavac/Makefile b/java/guavac/Makefile
index 8e1138407686..c6a6c842cd03 100644
--- a/java/guavac/Makefile
+++ b/java/guavac/Makefile
@@ -3,7 +3,7 @@
# Date created: 10 October 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
-# $Id: Makefile,v 1.11 1999/01/12 16:50:46 vanilla Exp $
+# $Id: Makefile,v 1.12 1999/05/04 12:00:21 asami Exp $
#
DISTNAME= guavac-1.2
@@ -12,9 +12,13 @@ MASTER_SITES= ftp://ftp.yggdrasil.com/pub/dist/devel/compilers/guavac/
MAINTAINER= nacai@iname.com
-CC= gcc28
-CXX= g++28
-BUILD_DEPENDS= ${LOCALBASE}/i386-portbld-freebsd${OSREL}/lib/libiberty.a:${PORTSDIR}/lang/glibstdc++28
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400004
+CC= egcc
+CXX= eg++
+BUILD_DEPENDS= egcc:${PORTSDIR}/lang/egcs
+.endif
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -27,4 +31,4 @@ pre-install:
post-install:
@strip ${PREFIX}/bin/guavac ${PREFIX}/bin/guavad
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>