Bug 188017 - [PATCH] devel/cmake needs USE_OPENSSL=YES
Summary: [PATCH] devel/cmake needs USE_OPENSSL=YES
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: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 14:40 UTC by dirk.meyer
Modified: 2014-03-30 09:40 UTC (History)
0 users

See Also:


Attachments
file.diff (314 bytes, patch)
2014-03-27 14:40 UTC, dirk.meyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dirk.meyer 2014-03-27 14:40:00 UTC
	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.

Fix: apply this patch:
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 ----
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-27 14:40:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2014-03-27 18:37:04 UTC
Responsible Changed
From-To: kde->dinoex

Approved, please commit.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-03-28 16:40:49 UTC
Author: dinoex
Date: Fri Mar 28 16:40:46 2014
New Revision: 349435
URL: http://svnweb.freebsd.org/changeset/ports/349435
QAT: https://qat.redports.org/buildarchive/r349435/

Log:
  - add USE_OPENSSL
  PR:		188017
  Approved by:	kde

Modified:
  head/devel/cmake/Makefile

Modified: head/devel/cmake/Makefile
==============================================================================
--- head/devel/cmake/Makefile	Fri Mar 28 16:00:26 2014	(r349434)
+++ head/devel/cmake/Makefile	Fri Mar 28 16:40:46 2014	(r349435)
@@ -13,6 +13,7 @@ COMMENT?=	Cross-platform Makefile genera
 LICENSE=	BSD3CLAUSE
 
 USE_KDE4=	# env
+USE_OPENSSL=	yes
 CONFIGURE_ENV=	MAKE=make
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--datadir="/${DATADIR_REL}" \
_______________________________________________
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 4 Dirk Meyer freebsd_committer freebsd_triage 2014-03-30 09:40:06 UTC
State Changed
From-To: open->closed

committed, thanks.