diff options
author | agc <agc> | 1999-04-07 13:21:00 +0000 |
---|---|---|
committer | agc <agc> | 1999-04-07 13:21:00 +0000 |
commit | ab479ecbf14e9d0690d958cd0b28ea875472df29 (patch) | |
tree | d7537d7f47617abf18687dd6280dbf75721b1ed5 /lang | |
parent | 03b4ef4c5cfd152d57852652df7cd24d4bcb9998 (diff) | |
download | pkgsrc-ab479ecbf14e9d0690d958cd0b28ea875472df29.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'lang')
-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++" |