diff options
-rw-r--r-- | graphics/libqglviewer/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> |