summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-01-22 22:16:25 +0000
committerschwarz <schwarz@pkgsrc.org>2006-01-22 22:16:25 +0000
commit77ab9ec10239474216e90c67586f61ab9b177e22 (patch)
treea9473762b41e3fe4dd71d4f05e70d67339a706c6
parent9139d90c38a74635b3f5dd31eb053258366e4689 (diff)
downloadpkgsrc-77ab9ec10239474216e90c67586f61ab9b177e22.tar.gz
- 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.
-rw-r--r--devel/doc++/Makefile3
-rw-r--r--devel/doc++/hacks.mk17
2 files changed, 19 insertions, 1 deletions
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