Bug 175247 - [MAINTAINER] databases/mariadb55-*: Fix build with OpenSSL installed from ports
Summary: [MAINTAINER] databases/mariadb55-*: Fix build with OpenSSL installed from ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-13 00:30 UTC by never
Modified: 2013-01-15 17:10 UTC (History)
0 users

See Also:


Attachments
file.diff (612 bytes, patch)
2013-01-13 00:30 UTC, never
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description never 2013-01-13 00:30:00 UTC
MariaDB 5.5 does not build when security/openssl installed.

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/

How-To-Repeat: 	cd /usr/ports/databases/mariadb55-client
	make
Comment 1 Florian Smeets freebsd_committer freebsd_triage 2013-01-13 08:22:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-01-15 17:08:22 UTC
Author: flo
Date: Tue Jan 15 17:08:14 2013
New Revision: 310457
URL: http://svnweb.freebsd.org/changeset/ports/310457

Log:
  Add a temporary fix to fix the build when openssl is installed from
  ports.
  
  The maintainer is working on making it configurable which SSL to build this
  port with. As is he working on bringing over most OPTIONS from
  databases/mariadb-server.
  
  PR:		ports/175247
  Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua> (maintainer)

Added:
  head/databases/mariadb55-client/files/patch-cmake_os_FreeBSD.cmake   (contents, props changed)
  head/databases/mariadb55-server/files/patch-cmake_os_FreeBSD.cmake   (contents, props changed)

Added: head/databases/mariadb55-client/files/patch-cmake_os_FreeBSD.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mariadb55-client/files/patch-cmake_os_FreeBSD.cmake	Tue Jan 15 17:08:14 2013	(r310457)
@@ -0,0 +1,15 @@
+--- 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()

Added: head/databases/mariadb55-server/files/patch-cmake_os_FreeBSD.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mariadb55-server/files/patch-cmake_os_FreeBSD.cmake	Tue Jan 15 17:08:14 2013	(r310457)
@@ -0,0 +1,15 @@
+--- 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()
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2013-01-15 17:08:38 UTC
State Changed
From-To: open->closed

Committed. Thanks!