From 8483d37679390b0734496e82df9e7c419f4c402c Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 14 Jun 2004 01:58:13 +0000 Subject: add missing dependent mark broken on 4.x Noticed by: bento via kris --- graphics/libqglviewer/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'graphics/libqglviewer') diff --git a/graphics/libqglviewer/Makefile b/graphics/libqglviewer/Makefile index be9e2e939b9d..a087c9fc4a7e 100644 --- a/graphics/libqglviewer/Makefile +++ b/graphics/libqglviewer/Makefile @@ -15,6 +15,8 @@ DISTNAME= libQGLViewer-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A C++ library helps development of 3D applications +BUILD_DEPENDS= ${QMAKE}:${PORTSDIR}/devel/qmake + USE_BZIP2= yes USE_QT_VER= 3 MAKE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \ @@ -25,6 +27,12 @@ INSTALLS_SHLIB= yes DOCSDIR= ${PREFIX}/share/doc/QGLViewer PORTDOCS= * +.include + +.if ${OSVERSION} < 500000 +BROKEN= "Does not compile on 4.x" +.endif + do-build: @(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${QMAKE} && \ ${SETENV} ${MAKE_ENV} ${MAKE}) @@ -38,4 +46,4 @@ post-install: @${FIND} ${PREFIX}/include/QGLViewer -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.include +.include -- cgit v1.2.3