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 (we need this for the Qt 4.8.1 exp-run)
This commit is contained in:
parent
4b057401d2
commit
4d02b44b6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296999
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue