ports/185536: [PATCH] net-im/licq: Do not build unit tests (libc++ build fix)
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon Jan 6 14:50:01 UTC 2014
>Number: 185536
>Category: ports
>Synopsis: [PATCH] net-im/licq: Do not build unit tests (libc++ build fix)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 06 14:50:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Raphael Kubo da Costa
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD orwell 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r259799: Tue Dec 24 03:24:18 EET
>Description:
The attached patch disables the automatic building of licq's unit tests; the version of gtest shipped by v1.8.0 does not build correctly with libc++, causing ports/185067 and all the failures in the build cluster.
licq's master branch in git already has a more recent gtest version that works fine with libc++, for what it's worth, so it is possible to remove this workaround in the future.
Port maintainer (dinoex at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- licq-base-1.8.0_1.patch begins here ---
diff -ruN /usr/ports/net-im/licq/Makefile ./Makefile
--- /usr/ports/net-im/licq/Makefile 2013-12-17 15:20:40.000000000 +0200
+++ ./Makefile 2014-01-06 16:41:55.000000000 +0200
@@ -24,6 +24,8 @@
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -Wl,--export-dynamic
+CMAKE_ARGS= -DBUILD_TESTS:BOOL=OFF
+
OPTIONS_DEFINE= OPENSSL
OPTIONS_DEFAULT=OPENSSL
--- licq-base-1.8.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list