diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2004-09-15 20:56:31 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2004-09-15 20:56:31 +0000 |
commit | 9c2697dbd2c01027ea0a9eb30400cfbdfd78d39d (patch) | |
tree | 644c54f94fc1c45ec66cfa1ca23d0155afd9f3b5 /lang/f2c/Makefile | |
parent | e2d790cf505940ff51ad5a17d7f913de39499c2e (diff) | |
download | pkgsrc-9c2697dbd2c01027ea0a9eb30400cfbdfd78d39d.tar.gz |
- don't hard code the c compiler name.
- automatically figure out MAIN__ vs _MAIN__
- don't clobber the path when running f2c-f77. This lets you
have a better chance of finding the c compiler!
With all this this package now seems fully functional on solaris-2.9 as
well as NetBSD.
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r-- | lang/f2c/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile index 7c17e11cfc9..881892d50f0 100644 --- a/lang/f2c/Makefile +++ b/lang/f2c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2004/09/14 22:09:40 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.30 2004/09/15 20:56:31 dmcmahill Exp $ DISTNAME= f2c-20001205 PKGREVISION= 6 @@ -28,6 +28,8 @@ F2CMAJOR= 0 F2CMINOR= 0 MAKE_ENV+= F2CMAJOR=${F2CMAJOR} F2CMINOR=${F2CMINOR} MAKE_ENV+= LIBOWN=${LIBOWN} LIBGRP=${LIBGRP} +MAKE_ENV+= AWK=${AWK} +MAKE_ENV+= ECHO=${ECHO} PLIST_SUBST+= F2CMAJOR=${F2CMAJOR} F2CMINOR=${F2CMINOR} WRKSRC= ${WRKDIR}/f2c |