Index: head/graphics/meshviewer/Makefile =================================================================== --- head/graphics/meshviewer/Makefile (revision 296994) +++ head/graphics/meshviewer/Makefile (revision 296995) @@ -1,46 +1,45 @@ -# ex:ts=8 # Ports collection makefile for: meshviewer # Date created: Jun 10, 2002 # Whom: ijliao # # $FreeBSD$ PORTNAME= meshviewer PORTVERSION= 0.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF/mview/mview/${PORTVERSION} DISTNAME= mview-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Mesh Viewer WRKSRC= ${WRKDIR}/mview-${PORTVERSION} +USE_GL= glu USE_QT_VER= 4 QT_COMPONENTS= corelib gui opengl moc_build USE_GMAKE= yes -LDFLAGS+= ${PTHREAD_LIBS} +CXXFLAGS+= -I. -Imesh -Imathvector \ + `pkg-config --cflags QtOpenGL glu` +LDFLAGS+= ${PTHREAD_LIBS} \ + `pkg-config --libs QtOpenGL glu` MAKE_ARGS= QTDIR="${QT_PREFIX}" CC="${CXX}" MOC="${MOC}" \ - CPPFLAGS="${CPPFLAGS}" FLAGS="${CXXFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ LIBPATH="" LIBS_QT4="${LDFLAGS}" PORTDOCS= * PLIST_FILES= bin/mview -CPPFLAGS+= -I. -Imesh -Imathvector \ - `pkg-config --cflags QtOpenGL glu` -LDFLAGS+= `pkg-config --libs QtOpenGL glu` - post-patch: - @${REINPLACE_CMD} -e 's|make |$$(MAKE) |g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|make |$$(MAKE) |g' -e 's|CPPFLAGS|CXXFLAGS|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/mesh/mesh.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @(cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif .include Property changes on: head/graphics/meshviewer/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/graphics/meshviewer/files/patch-qt4__glmesh.cpp =================================================================== --- head/graphics/meshviewer/files/patch-qt4__glmesh.cpp (nonexistent) +++ head/graphics/meshviewer/files/patch-qt4__glmesh.cpp (revision 296995) @@ -0,0 +1,11 @@ +--- qt4/glmesh.cpp~ 2012-05-20 00:04:04.000000000 -0300 ++++ qt4/glmesh.cpp 2012-05-20 00:04:21.000000000 -0300 +@@ -21,6 +21,8 @@ + #include "mview.h" + #include "coordinates.h" + ++#include ++ + // for FPS + unsigned long timeCounter; + unsigned int frameCounter; Property changes on: head/graphics/meshviewer/files/patch-qt4__glmesh.cpp ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/graphics/meshviewer/files/patch-qt4__glmesh_common.cpp =================================================================== --- head/graphics/meshviewer/files/patch-qt4__glmesh_common.cpp (nonexistent) +++ head/graphics/meshviewer/files/patch-qt4__glmesh_common.cpp (revision 296995) @@ -0,0 +1,11 @@ +--- qt4/glmesh_common.cpp~ 2012-05-20 00:04:54.000000000 -0300 ++++ qt4/glmesh_common.cpp 2012-05-20 00:05:03.000000000 -0300 +@@ -10,6 +10,8 @@ + + #include "glmesh.h" + ++#include ++ + void GLMesh::checkForTraps(const char *string, int value) + { + GLenum errorCode = glGetError(); Property changes on: head/graphics/meshviewer/files/patch-qt4__glmesh_common.cpp ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property