Date: Thu, 27 Mar 2014 15:32:02 +0100 (CET) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/188017: [PATCH] devel/cmake needs USE_OPENSSL=YES Message-ID: <201403271432.s2REW2Q4040529@home8.dinoex.sub.de> Resent-Message-ID: <201403271440.s2REe0sv008840@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188017 >Category: ports >Synopsis: [PATCH] devel/cmake 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: Thu Mar 27 14:40: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: cmake uses openssl, but did not record the needed LIB_DEPENDS for it. as result build of ports with cmake from package fails. e.g.: science/openbabel === 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/devel/cmake make WITH_OPENSSL_PORT=yes install ldd /usr/local/bin/cmake ----- begin output ---- /usr/local/bin/cmake: libssl.so.8 => /usr/local/lib/libssl.so.8 (0x800c7a000) libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x800ee1000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x8012bd000) libm.so.5 => /lib/libm.so.5 (0x8015d5000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8017f7000) libc.so.7 => /lib/libc.so.7 (0x801a05000) libthr.so.3 => /lib/libthr.so.3 (0x801d63000) ----- end output ---- >Fix: apply this patch: Index: Makefile =================================================================== --- Makefile (revision 349338) +++ Makefile (working copy) @@ -13,6 +13,7 @@ LICENSE= BSD3CLAUSE USE_KDE4= # env +USE_OPENSSL= yes CONFIGURE_ENV= MAKE=make CONFIGURE_ARGS= --prefix=${PREFIX} \ --datadir="/${DATADIR_REL}" \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403271432.s2REW2Q4040529>