summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-08-06 16:25:44 +0000
committertron <tron@pkgsrc.org>2001-08-06 16:25:44 +0000
commitedf26f279d92c0550e749cc44b03e29fed99c8c2 (patch)
treea09f8c03cdc300686b0e293b7a5afb0419dd7dd9
parent8d8fc64070bce7e9d34b10f321e5b2b9c5b0aa8f (diff)
downloadpkgsrc-edf26f279d92c0550e749cc44b03e29fed99c8c2.tar.gz
Provide an empty "wctype.h" on NetBSD 1.5.x systems which is enough to
make this package build. This fixes PR pkg/13617 by myself.
-rw-r--r--finance/gnucash/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index eea05550ede..88450847c05 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/08/01 23:50:19 mjl Exp $
+# $NetBSD: Makefile,v 1.13 2001/08/06 16:25:44 tron Exp $
DISTNAME= gnucash-1.6.1
CATEGORIES= finance
@@ -43,6 +43,9 @@ CPPFLAGS+= -I${WRKSRC}/include
post-extract:
${MKDIR} ${WRKSRC}/include
${LN} -s /usr/include/db.h ${WRKSRC}/include/db_185.h
+.if !exists(/usr/include/wctype.h)
+ ${TOUCH} ${WRKSRC}/include/wctype.h
+.endif
.endif
.include "../../mk/bsd.pkg.mk"