Bug 195532 - devel/efl should NOT demand OpenSSL from ports
Summary: devel/efl should NOT demand OpenSSL from ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Grzegorz Blach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-30 17:59 UTC by Mikhail T.
Modified: 2014-12-28 19:10 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gblach)


Attachments
Don't set WITH_OPENSSL_PORT (1006 bytes, patch)
2014-11-30 17:59 UTC, Mikhail T.
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2014-11-30 17:59:54 UTC
Created attachment 150036 [details]
Don't set WITH_OPENSSL_PORT

It appears, the requirement was added, because the author's configure uses pkg-config to check the local OpenSSL distribution.

That's not a good enough reason to drag a sizable dependency -- the base OpenSSL is perfectly sufficient.

The attached patch modifies upstream's configure.ac to NOT use pkg-config on openssl and removes the requirement from the port's own Makefile.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-30 17:59:54 UTC
Auto-assigned to maintainer gblach@FreeBSD.org
Comment 2 Grzegorz Blach freebsd_committer freebsd_triage 2014-12-02 12:08:38 UTC
It's will be better if efl use openssl from base instead from port, but attached patch simply don't work.

Output from make configure:


configure: Start Ecore_Con checks
checking for ECORE_CON... no
configure: error: Package requirements ( ) were not met:

Please specify at least one package name on the command line.

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ECORE_CON_CFLAGS
and ECORE_CON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
===>  Script "configure" failed unexpectedly.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-12-28 19:09:28 UTC
A commit references this bug:

Author: gblach
Date: Sun Dec 28 19:09:17 UTC 2014
New revision: 375743
URL: https://svnweb.freebsd.org/changeset/ports/375743

Log:
  - Use openssl from base on 10.0 or higher, based on [1]
  - Fix SDL option
  - Convert ENGINE option group to radio choice
  - Fix plist when OPENGL is disabled
  - Add NLS option
  - Convert USE_AUTOTOOLS to USES=autoreconf
  - Bump PORTREVISION

  PR:		195532 [1]
  Submitted by:	Mikhail T. (mi <at> ALDAN <dot> algebra <dot> com) [1]

Changes:
  head/devel/efl/Makefile
  head/devel/efl/pkg-plist
Comment 4 Grzegorz Blach freebsd_committer freebsd_triage 2014-12-28 19:10:54 UTC
I found a way how to use openssl from base on 10.0 or higher. On older FreeBSD releases openssl is too old to work with efl.