Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 13:23:57 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187931: [PATCH] science/openbabel needs USE_OPENSSL=YES
Message-ID:  <201403251223.s2PCNvZ9083183@home8.dinoex.sub.de>
Resent-Message-ID: <201403251230.s2PCU0s2016274@freefall.freebsd.org>

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

>Number:         187931
>Category:       ports
>Synopsis:       [PATCH] science/openbabel needs USE_OPENSSL=YES
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 12:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 9.2-RELEASE
>Organization:
privat
>Environment:

clean jail.

/etc/make.conf:
WITH_OPENSSL_PORT=yes

>Description:

	build of science/openbabel fails:

=== package openbabel-2.3.2 can not be installed
=== package openbabel-2.3.2 was not build
===> Fetching all distfiles required by openbabel-2.3.2 for building
===>  Extracting for openbabel-2.3.2
=> SHA256 Checksum OK for openbabel-2.3.2.tar.gz.
===>  Patching for openbabel-2.3.2
===>  Applying FreeBSD patches for openbabel-2.3.2
/usr/bin/sed -i.bak -e '/find_package(Cairo)/d'  /media/work/usr/ports/science/openbabel/work/openbabel-2.3.2/CMakeLists.txt
/usr/bin/sed -i.bak -e '/pkgconfig/s,${LIB_INSTALL_DIR},libdata,'  /media/work/usr/ports/science/openbabel/work/openbabel-2.3.2/CMakeLists.txt
/usr/bin/sed -i.bak -e 's,share/man,man,'  /media/work/usr/ports/science/openbabel/work/openbabel-2.3.2/doc/CMakeLists.txt
===>   openbabel-2.3.2 depends on file: /usr/local/include/eigen3/Eigen/Eigen - found
===>   openbabel-2.3.2 depends on file: /usr/local/bin/cmake - found
===>   openbabel-2.3.2 depends on shared library: libxml2.so - found
===>  Configuring for openbabel-2.3.2
===>  Performing out-of-source build
/bin/mkdir -p /media/work/usr/ports/science/openbabel/work/.build
Shared object "libssl.so.8" not found, required by "cmake"
*** [do-configure] Error code 1

Stop in /usr/ports/science/openbabel.

>How-To-Repeat:

	cd /usr/ports/science/openbabel
	make WITH_OPENSSL_PORT=yes

>Fix:

	apply this patch:

Index: Makefile
===================================================================
--- Makefile    (revision 348745)
+++ Makefile    (working copy)
@@ -14,6 +14,7 @@
 CONFLICTS_INSTALL=	babel-*
 
 USE_GNOME=	libxml2
+USE_OPENSSL=	yes
 USES=		cmake:outsource
 CMAKE_ARGS=	-DBUILD_GUI=off
 USE_LDCONFIG=	yes

>Release-Note:
>Audit-Trail:
>Unformatted:



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