Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2015 20:37:50 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391372 - head/devel/qt5-linguisttools/files
Message-ID:  <201507052037.t65KboNF047559@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Jul  5 20:37:49 2015
New Revision: 391372
URL: https://svnweb.freebsd.org/changeset/ports/391372

Log:
  Only process the `linguist' subdir when configuring.
  
  Use the same patch that is present in other ports like devel/qt5-designer
  and graphics/qt5-pixeltool to make sure only the directory we want is
  processed, otherwise there is a risk of missing dependency errors on
  non-Poudriere builds.
  
  PR:		201247

Added:
  head/devel/qt5-linguisttools/files/
  head/devel/qt5-linguisttools/files/patch-src__src.pro   (contents, props changed)

Added: head/devel/qt5-linguisttools/files/patch-src__src.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/qt5-linguisttools/files/patch-src__src.pro	Sun Jul  5 20:37:49 2015	(r391372)
@@ -0,0 +1,45 @@
+Only enter the directories we want to build, otherwise we might fail due to
+missing dependencies.
+
+--- src/src.pro
++++ src/src.pro
+@@ -1,38 +1,2 @@
+ TEMPLATE = subdirs
+-
+-qtHaveModule(widgets) {
+-    no-png {
+-        message("Some graphics-related tools are unavailable without PNG support")
+-    } else {
+-        SUBDIRS = assistant \
+-                  pixeltool \
+-                  qtestlib \
+-                  designer
+-#    unix:!mac:!embedded:!qpa:SUBDIRS += qtconfig
+-
+-        linguist.depends = designer
+-    }
+-}
+-
+-SUBDIRS += linguist
+-if(!android|android_app):!ios: SUBDIRS += qtpaths
+-
+-mac {
+-    SUBDIRS += macdeployqt
+-}
+-
+-android {
+-    SUBDIRS += androiddeployqt
+-}
+-
+-qtHaveModule(dbus): SUBDIRS += qdbus
+-
+-win32|winrt:SUBDIRS += windeployqt
+-winrt:SUBDIRS += winrtrunner
+-qtHaveModule(gui):!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
+-
+-qtNomakeTools( \
+-    pixeltool \
+-    qtconfig \
+-    macdeployqt \
+-)
++SUBDIRS = linguist



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507052037.t65KboNF047559>