diff options
Diffstat (limited to 'lang/hugs/Makefile')
-rw-r--r-- | lang/hugs/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index ee6f0cfe0a4..d3967b78027 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2012/10/02 20:11:42 asau Exp $ +# $NetBSD: Makefile,v 1.42 2013/06/18 19:58:48 joerg Exp $ DISTNAME= hugs98-Sep2006 PKGNAME= hugs98-200609 @@ -23,6 +23,13 @@ PKG_SUPPORTED_OPTIONS= readline .include "../../mk/bsd.options.mk" +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp +CONFIGURE_ARGS+= ice_cv_traditional_cpp=${PREFIX}/bin/tradcpp +.endif + .if !empty(PKG_OPTIONS:Mreadline) . include "../../devel/readline/buildlink3.mk" .else |