1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Make the port build with the upcoming Qt 4.8.x series.

Since 4.8.0 [1], Qt itself does not automatically include GLU's
headers and libraries with its OpenGL module, so applications which
relied on Qt to get these need to be adjusted.

PORTREVISION bumped since we now explicitly depend on GLU via
USE_GL=glu.

[1] e7eed096a0

Approved by:	miwi (for Qt 4.8.1 to pass the exp-run)
This commit is contained in:
Raphael Kubo da Costa 2012-05-20 04:18:29 +00:00
parent f58fc8bf82
commit 4b057401d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296998
2 changed files with 11 additions and 1 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= meshlab
PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MeshLab%20v${PORTVERSION}/
DISTNAME= MeshLabSrc_AllInc_v123a
@ -16,7 +17,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= gahr@FreeBSD.org
COMMENT= A tool for processing and editing 3D triangular meshes
USE_GL= glew
USE_GL= glew glu
USE_QT_VER= 4
QT_COMPONENTS= qmake corelib gui xml opengl network moc uic rcc

View File

@ -0,0 +1,9 @@
--- meshlab/meshlab.pro~ 2012-05-20 01:14:08.000000000 -0300
+++ meshlab/meshlab.pro 2012-05-20 01:14:53.000000000 -0300
@@ -1,3 +1,6 @@
+# Qt 4.8 does not add -lGLU automatically with QT=opengl anymore
+LIBS += -lGLU
+
VCGDIR = ../../../vcglib
GLEWDIR = ../external/glew-1.5.1
#CONFIG += debug_and_release