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 Fix: 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
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: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179508 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->wg I'll take it.
Author: wg Date: Wed Jun 26 21:53:51 2013 New Revision: 321819 URL: http://svnweb.freebsd.org/changeset/ports/321819 Log: 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 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 .endif .if ${PORT_OPTIONS:MOPENSSL} - CONFIGURE_ARGS+= --with-tlslib=OpenSSL + USE_OPENSSL= yes + CONFIGURE_ARGS+= --with-tlslib=OpenSSL \ + --with-openssl-includes=${OPENSSLINC} \ + --with-openssl-libraries=${OPENSSLLIB} .endif .if ${PORT_OPTIONS:MGNUTLS} _______________________________________________ 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"
State Changed From-To: feedback->closed Committed, with minor changes. Thanks!