Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 02:27:41 +0200 (EET)
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175247: [MAINTAINER] databases/mariadb55-*: Fix build with OpenSSL installed from ports
Message-ID:  <201301130027.r0D0RfLo024960@naia.nevermind.kiev.ua>
Resent-Message-ID: <201301130030.r0D0U0ot088750@freefall.freebsd.org>

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

>Number:         175247
>Category:       ports
>Synopsis:       [MAINTAINER] databases/mariadb55-*: Fix build with OpenSSL installed from ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 13 00:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexandr Kovalenko
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
Nevermind Ltd.
>Environment:
System: FreeBSD 9.1-STABLE amd64


>Description:
MariaDB 5.5 does not build when security/openssl installed.
>How-To-Repeat:
	cd /usr/ports/databases/mariadb55-client
	make
>Fix:
Was caused by incorrect logic of workaround used by MariaDB developers to search for installed version of devel/libexecinfo.
Let's turn it off now.

Add patch patch-cmake_os_FreeBSD.cmake to both:

databases/mariadb55-client/files/
and
databases/mariadb55-server/files/


--- cmake/os/FreeBSD.cmake.orig	2013-01-13 02:13:17.000000000 +0200
+++ cmake/os/FreeBSD.cmake	2013-01-13 02:14:15.000000000 +0200
@@ -24,6 +24,7 @@
 # ADD_DEFINITIONS(-DHAVE_BROKEN_REALPATH)
 
 # Find libexecinfo (library that contains backtrace_symbols etc)
+IF(FALSE)
 INCLUDE_DIRECTORIES(/usr/local/include)
 SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} /usr/local/include )
 SET(ENV{LIB} "$ENV{LIB}:/usr/local/lib")
@@ -31,6 +32,7 @@
 IF(EXECINFO)
  SET(LIBEXECINFO ${EXECINFO})
 ENDIF()
+ENDIF()
 
 # Use atomic builtins
 IF(CMAKE_SIZEOF_VOID_P EQUAL 4 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "i386")
>Release-Note:
>Audit-Trail:
>Unformatted:



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