Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2014 06:46:56 -0800 (PST)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dinoex@FreeBSD.org
Subject:   ports/185536: [PATCH] net-im/licq: Do not build unit tests (libc++ build fix)
Message-ID:  <52cac1e0.0b1a700a.679f.ffffedef@mx.google.com>
Resent-Message-ID: <201401061450.s06Eo1X0099255@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52cac1e0.0b1a700a.679f.ffffedef>