Skip to content
Permalink
Browse files

aqua/x2goclient: use qmake-1.0 PG, fix +debug variant.

Revbump, since the debug variant was horribly broken before.

See: https://trac.macports.org/ticket/39424
  • Loading branch information
Ionic committed Apr 24, 2019
1 parent 91b6be4 commit 2b292f41894577ca90da9fa6d8dc0c5989977933
Showing with 7 additions and 7 deletions.
  1. +7 −7 aqua/x2goclient/Portfile
@@ -1,11 +1,13 @@
# -*- 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

qt4.debug_variant no

name x2goclient
version 4.1.2.1
revision 1
revision 2
checksums sha256 1c18981f0a39929624de9472b0e6c3fa2ac7842837dd306db318af54c5fff2af \
rmd160 9391d1e69547eaaf154388749dfd013446c4a91b \
size 2735905
@@ -52,16 +54,14 @@ pre-configure {

set qmake_project_file "x2goclient.pro"
configure.dir "${worksrcpath}/client_build"
configure.cmd ${qt_qmake_cmd}
configure.pre_args PREFIX=${prefix}

# To pass string defines via DEFINES to qmake, we need 7 level
# of backslashes. Since we're using TCL, parsing that and then
# are passing commands on to the shell, which handles execution,
# these 7 levels must be doubled.
# According to https://xkcd.com/1638/, this might potentially
# summon some form of lesser demon.
configure.args-append -config \"release\" \
configure.args-append CONFIG+=\"release\" \
CONFIG+=\"${qt_arch_types}\" \
CONFIG-=\"sdk\" \
OSX_STDLIB=\"${configure.cxx_stdlib}\" \
@@ -82,8 +82,8 @@ destroot {
}

variant debug description {Builds a debug version. Only really useful with a debugging-enabled version of Qt.} {
configure.args-replace -config \"release\" \
-config \"debug\"
configure.args-replace CONFIG+=\"release\" \
CONFIG+=\"debug\"
}

livecheck.url https://code.x2go.org/releases/source/x2goclient/

0 comments on commit 2b292f4

Please sign in to comment.
You can’t perform that action at this time.