Bug 179508 - news/nzbget - configure is unable to locate base openssl headers and libs
Summary: news/nzbget - configure is unable to locate base openssl headers and libs
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: William Grzybowski
Depends on:
Reported: 2013-06-12 10:50 UTC by Nicolas Raspail
Modified: 2013-06-26 23:00 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Raspail 2013-06-12 10:50:02 UTC
	If I want to use the OpenSSL options, the configure script failed because it cannont find the openssl headers and lib with pkg-config :
checking for openssl... configure: error: Package requirements (openssl) were not met:

Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'world', not found

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

Alternatively, you may set the environment variables openssl_CFLAGS
and openssl_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I'm using openssl from base system


Replace the line CONFIGURE_ARGS+= --with-tlslib=OpenSSL with CONFIGURE_ARGS+= --with-tlslib=OpenSSL --with-openssl-includes=/usr/include/openssl --with-openssl-libraries=/usr/lib/openssl
How-To-Repeat: 	Try to install nzbget 10.2 with OpenSSL enable
Comment 1 Edwin Groothuis freebsd_committer 2013-06-12 10:50:14 UTC
Maintainer of news/nzbget,

Please note that PR ports/179508 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:

Edwin Groothuis via the GNATS Auto Assign Tool
Comment 2 Edwin Groothuis freebsd_committer 2013-06-12 10:50:15 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 William Grzybowski freebsd_committer 2013-06-12 15:59:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 4 dfilter service freebsd_committer 2013-06-26 22:54:03 UTC
Author: wg
Date: Wed Jun 26 21:53:51 2013
New Revision: 321819
URL: http://svnweb.freebsd.org/changeset/ports/321819

  news/nzbget: fix build with openssl
  - Fix build with OpenSSL, path to base lib
  PR:		ports/179508
  Submitted by:	Nicolas Raspail <nicolas@whisperingvault.net>
  Approved by:	maintainer (timeout)


Modified: head/news/nzbget/Makefile
--- head/news/nzbget/Makefile	Wed Jun 26 21:18:53 2013	(r321818)
+++ head/news/nzbget/Makefile	Wed Jun 26 21:53:51 2013	(r321819)
@@ -39,7 +39,10 @@ OPTIONS_DEFAULT=	PAR GNUTLS
- CONFIGURE_ARGS+= --with-tlslib=OpenSSL
+ CONFIGURE_ARGS+= --with-tlslib=OpenSSL \
+		--with-openssl-includes=${OPENSSLINC} \
+		--with-openssl-libraries=${OPENSSLLIB}
svn-ports-all@freebsd.org mailing list
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 William Grzybowski freebsd_committer 2013-06-26 22:58:52 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!