aboutsummaryrefslogtreecommitdiff
path: root/graphics/structuresynth
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-05-20 04:34:02 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-05-20 04:34:02 +0000
commit4d02b44b6c7cf4ad7e3d0e4d059b35e8aadd3c14 (patch)
tree61da3c6172d2c6cd3e2aea7e888a7291f0bc8560 /graphics/structuresynth
parent4b057401d2f2432a4ab2ceb6ed411448d7125041 (diff)
downloadports-4d02b44b6c7cf4ad7e3d0e4d059b35e8aadd3c14.tar.gz
ports-4d02b44b6c7cf4ad7e3d0e4d059b35e8aadd3c14.zip
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] http://qt.gitorious.org/qt/qt/commit/e7eed096a0c33607a7a37baaf06e5952dc9d556b Approved by: miwi (we need this for the Qt 4.8.1 exp-run)
Notes
Notes: svn path=/head/; revision=296999
Diffstat (limited to 'graphics/structuresynth')
-rw-r--r--graphics/structuresynth/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/structuresynth/Makefile b/graphics/structuresynth/Makefile
index a550351d178e..1b362169f35f 100644
--- a/graphics/structuresynth/Makefile
+++ b/graphics/structuresynth/Makefile
@@ -7,6 +7,7 @@
PORTNAME= structuresynth
PORTVERSION= 1.5.0
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/Structure%20Synth/Version%201.5%20%28Hinxton%29
DISTNAME= StructureSynth-Source-v${PORTVERSION}
@@ -14,6 +15,7 @@ DISTNAME= StructureSynth-Source-v${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Rule-based 3D structure generator
+USE_GL= glu
USE_ZIP= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build corelib gui opengl moc_build rcc_build xml script
@@ -31,7 +33,8 @@ post-patch:
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -project \
- -after "CONFIG+=opengl" -after "QT+=xml opengl script"
+ -after "CONFIG+=opengl" -after "QT+=xml opengl script" \
+ -after "LIBS+=-lGLU"
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
do-install: