Skip to content

Commit

Permalink
qscintilla: use qmake PortGroup instead of qt4, to "use the right com…
Browse files Browse the repository at this point in the history
…piler" and c++11 flags per ticket https://trac.macports.org/ticket/53625 .
  • Loading branch information
michaelld committed Feb 23, 2017
1 parent 15478f0 commit b9de20c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions devel/qscintilla/Portfile
@@ -1,7 +1,7 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup qt4 1.0
PortGroup qmake 1.0
PortGroup cxx11 1.1

name qscintilla
Expand Down Expand Up @@ -75,23 +75,13 @@ post-patch {
${worksrcpath}/designer-Qt4Qt5/designer-Qt4Qt5.pro
}

# QMake does not handle this flag.
configure.universal_args-delete --disable-dependency-tracking
configure.args-delete --disable-dependency-tracking

configure.pre_args
configure.cmd ${qt_qmake_cmd}

# allow ccache, if specified by the user
pre-build {
if {[tbool configure.ccache]} {
build.post_args "CCACHE=ccache"
}
}

variant debug \
description {Produce both release and debug library and plugin} {}

livecheck.type regex
livecheck.url ${homepage}download
livecheck.regex >QScintilla\[_-\]gpl-\(\[0-9.\]+\)${extract.suffix}<

0 comments on commit b9de20c

Please sign in to comment.