diff options
author | agc <agc@pkgsrc.org> | 1999-04-07 13:21:00 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-04-07 13:21:00 +0000 |
commit | ab2965f5acc2e01333a1d6b83c80c22e90c52ef7 (patch) | |
tree | d7537d7f47617abf18687dd6280dbf75721b1ed5 /lang/guavac | |
parent | 86e27307f3ac7f4d00f30fd85c58171dd353ba6d (diff) | |
download | pkgsrc-ab2965f5acc2e01333a1d6b83c80c22e90c52ef7.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'lang/guavac')
-rw-r--r-- | lang/guavac/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/guavac/Makefile b/lang/guavac/Makefile index dbbd87184e6..6464ebff7d9 100644 --- a/lang/guavac/Makefile +++ b/lang/guavac/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/01/09 18:40:53 tv Exp $ +# $NetBSD: Makefile,v 1.9 1999/04/07 13:21:00 agc Exp $ # DISTNAME= guavac-1.2 @@ -11,6 +11,15 @@ MASTER_SITES= ftp://ftp.yggdrasil.com/pub/dist/devel/compilers/guavac/ \ MAINTAINER= packages@netbsd.org # HOMEPAGE= http://www.cs.berkeley.edu/~engberg/guavac/ no longer exists +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +DEPENDS+= egcs-1.1.2:../../lang/egcs +MAKE_ENV+= PATH=${LOCALBASE}/egcs/bin:$PATH +CXX= ${LOCALBASE}/egcs/bin/gcc +CONFIGURE_ENV+= CXX=${CXX} +.endif + HAVE_GCC27!= ${CXX} -v 2>&1 | grep '2\.7\.'; echo .if !empty(HAVE_GCC27) IGNORE= "requires gcc 2.8 or egcs or better for ANSI C++" |