aboutsummaryrefslogtreecommitdiffstats
path: root/devel/stlport
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-09-01 00:36:50 +0800
committertrevor <trevor@FreeBSD.org>2001-09-01 00:36:50 +0800
commit4ab4d362078f2117123d4b17f94c41d6e972569a (patch)
tree911a9c6588dcdaf2c74cde50c153c05f8d4ec562 /devel/stlport
parent8fc4dce35a3e4f0703ff072f023af6c154fbb3b3 (diff)
downloadfreebsd-ports-gnome-4ab4d362078f2117123d4b17f94c41d6e972569a.tar.gz
freebsd-ports-gnome-4ab4d362078f2117123d4b17f94c41d6e972569a.tar.zst
freebsd-ports-gnome-4ab4d362078f2117123d4b17f94c41d6e972569a.zip
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>
Diffstat (limited to 'devel/stlport')
-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>
+