Index: head/devel/lxqt-build-tools/Makefile =================================================================== --- head/devel/lxqt-build-tools/Makefile (revision 430312) +++ head/devel/lxqt-build-tools/Makefile (revision 430313) @@ -1,28 +1,28 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= lxqt-build-tools -PORTVERSION= 0.3.0 +PORTVERSION= 0.3.1 CATEGORIES= devel MASTER_SITES= LXQT/${PORTNAME} MAINTAINER= olivierd@FreeBSD.org COMMENT= Helpers CMake modules for LXQt LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/BSD-3-Clause USES= cmake:outsource lxqt pkgconfig tar:xz USE_QT5= qmake_build buildtools_build core .include # When the CXX compiler is GNU 4.2.1 (DragonFlyBSD seems to have >= 4.7.x) # we get the following errors: # cc1plus: error: unrecognized command line option "-flto" # cc1plus: error: unrecognized command line option "-fuse-linker-plugin" .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024 EXTRA_PATCHES= ${FILESDIR}/extra-patch-cmake_modules_LXQtCompilerSettings.cmake .endif .include Index: head/devel/lxqt-build-tools/distinfo =================================================================== --- head/devel/lxqt-build-tools/distinfo (revision 430312) +++ head/devel/lxqt-build-tools/distinfo (revision 430313) @@ -1,3 +1,3 @@ -TIMESTAMP = 1481464588 -SHA256 (lxqt/lxqt-build-tools-0.3.0.tar.xz) = 850124c0b76be38859745542fa45cb65191034d32b4fbc9f3399c867db69c008 -SIZE (lxqt/lxqt-build-tools-0.3.0.tar.xz) = 19024 +TIMESTAMP = 1483342466 +SHA256 (lxqt/lxqt-build-tools-0.3.1.tar.xz) = 6c16bed977d78eea85f43ac1c82aa00065c739268a12c721d1bf3089933ff840 +SIZE (lxqt/lxqt-build-tools-0.3.1.tar.xz) = 19320 Index: head/devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake =================================================================== --- head/devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake (revision 430312) +++ head/devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake (revision 430313) @@ -1,13 +1,13 @@ ---- cmake/modules/LXQtCompilerSettings.cmake.orig 2016-12-06 20:31:16 UTC +--- cmake/modules/LXQtCompilerSettings.cmake.orig 2017-01-01 21:46:43 UTC +++ cmake/modules/LXQtCompilerSettings.cmake @@ -144,7 +144,9 @@ endif() if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX) # -flto: use link-time optimizations to generate more efficient code if (CMAKE_COMPILER_IS_GNUCXX) - set(LTO_FLAGS "-flto -fuse-linker-plugin") + if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") + set(LTO_FLAGS "-flto -fuse-linker-plugin") -+ endif () - elseif (LXQT_COMPILER_IS_CLANGCXX) - # The link-time optimization of clang++/llvm seems to be too aggrassive. - # After testing, it breaks the signal/slots of QObject sometimes. ++ endif() + # When building static libraries with LTO in gcc >= 4.9, + # "gcc-ar" and "gcc-ranlib" should be used instead of "ar" and "ranlib". + # references: