From 77ab9ec10239474216e90c67586f61ab9b177e22 Mon Sep 17 00:00:00 2001 From: schwarz Date: Sun, 22 Jan 2006 22:16:25 +0000 Subject: - added USE_LANGUAGES variable to indicate that doc++ needs c++ to compile - added a hacks.mk file to deal with the sys/types.h vs. inttypes.h confilct on IRIX 5.3. --- devel/doc++/Makefile | 3 ++- devel/doc++/hacks.mk | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 devel/doc++/hacks.mk (limited to 'devel/doc++') diff --git a/devel/doc++/Makefile b/devel/doc++/Makefile index 64f043656d3..8ae72baaf8e 100644 --- a/devel/doc++/Makefile +++ b/devel/doc++/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/01/09 19:30:09 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2006/01/22 22:16:25 schwarz Exp $ DISTNAME= doc++-3.4.10 PKGREVISION= 1 @@ -12,6 +12,7 @@ COMMENT= Documentation system for C, C++ and Java USE_TOOLS+= gmake USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ BUILD_USES_MSGFMT= yes #post-extract: diff --git a/devel/doc++/hacks.mk b/devel/doc++/hacks.mk new file mode 100644 index 00000000000..872f86279b8 --- /dev/null +++ b/devel/doc++/hacks.mk @@ -0,0 +1,17 @@ +# $NetBSD: hacks.mk,v 1.1 2006/01/22 22:16:25 schwarz Exp $ + +.if !defined(DOCXX_HACKS_MK) +DOCXX_HACKS_MK= # defined + +### [Sat Jan 14 19:03:02 CET 2006: schwarz] +### make sys/types.h not conflict with inttypes.h +### (issue is specific to IRIX 5.3) +### +.if ${LOWER_OPSYS} == "irix5.3" +PKG_HACKS+= sys_types_h-inttypes_h-conflict +CONFIGURE_ENV+= ac_cv_header_inttypes_h="no" +CONFIGURE_ENV+= jm_ac_cv_header_inttypes_h="no" +CONFIGURE_ENV+= gt_cv_header_inttypes_h="no" +.endif + +.endif -- cgit v1.2.3