aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2012-05-20 12:34:02 +0800
committerrakuco <rakuco@FreeBSD.org>2012-05-20 12:34:02 +0800
commite354526e0c670c75d6ec23587cc6f3222a7ac183 (patch)
tree9208be107dc7c27fe3df3dc2c4ba40911ede55dc /graphics
parent6a3bd0ab5e0b396d97b857325f7f093304c5b7e6 (diff)
downloadfreebsd-ports-gnome-e354526e0c670c75d6ec23587cc6f3222a7ac183.tar.gz
freebsd-ports-gnome-e354526e0c670c75d6ec23587cc6f3222a7ac183.tar.zst
freebsd-ports-gnome-e354526e0c670c75d6ec23587cc6f3222a7ac183.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)
Diffstat (limited to 'graphics')
-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: