diff options
Diffstat (limited to 'cad')
-rw-r--r-- | cad/tnt-mmtl/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cad/tnt-mmtl/Makefile b/cad/tnt-mmtl/Makefile index 113223a9e48..64fc3a473b7 100644 --- a/cad/tnt-mmtl/Makefile +++ b/cad/tnt-mmtl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2010/07/30 10:36:23 asau Exp $ +# $NetBSD: Makefile,v 1.16 2011/01/22 18:25:47 dmcmahill Exp $ # DISTNAME= tnt-1.2.2 @@ -22,6 +22,13 @@ USE_LANGUAGES= c c++ fortran77 TEX_DEPMOD= build TEX_ACCEPTED= teTeX3 +# without this, configure ends up using 'gcc -E' for CPP and +# passing that down via an environment variable to f2c-f77 which +# in turn ends up feeding a .F file to gcc -E that fails due to +# fortran not being a configured language. This is what happens on +# a stock NetBSD-5.1 install. +CONFIGURE_ENV+= CPP=${CPP} + post-patch: ${MV} ${WRKSRC}/tnt ${WRKSRC}/tnt-mmtl cd ${WRKSRC}/bem && aclocal |