summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2001-08-31 16:36:50 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2001-08-31 16:36:50 +0000
commitd79d377611401ebb87eed803a84d67359d4cc5e7 (patch)
treeeea85fad4a97125e85746de8e9e758d66c4b9677 /devel
parentAdd gcc30 to the mix. (diff)
The wchar.h header required by this port seems to have been added
to -STABLE without a change in __FreeBSD_version . Check for the existence of the header, and mark BROKEN if it is missing. PR: 30121 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Notes
Notes: svn path=/head/; revision=47237
Diffstat (limited to 'devel')
-rw-r--r--devel/stlport/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile
index 44838544def4..14d58c305186 100644
--- a/devel/stlport/Makefile
+++ b/devel/stlport/Makefile
@@ -15,6 +15,12 @@ DISTNAME= STLport-${PORTVERSION:S/.b/-b/}
MAINTAINER= ports@FreeBSD.org
+.include <bsd.port.pre.mk>
+
+.if !exists(/usr/include/wchar.h)
+BROKEN= "requires /usr/include/wchar.h for compilation"
+.endif
+
WRKSRC= ${WRKDIR}/STLport-${PORTVERSION:S/.b/b/}/src
MAKEFILE= gcc.mak
ALL_TARGET= clean all
@@ -44,4 +50,5 @@ do-install:
cd ${WRKSRC}/../doc ; ${INSTALL_MAN} *.css *.html ${PREFIX}/share/doc/html/stlport
cd ${WRKSRC}/../doc ; ${INSTALL_MAN} images/* ${PREFIX}/share/doc/html/stlport/images
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
+