freebsd-ports/irc/inspircd/files/patch-configure
Beech Rintoul aa86169786 - Update to version 1.1.19
- Add OPTIONS dialogue to enable extra modules
- Add rc.subr start-up script
- Add the usual boilerplate so that inspircd will run as user ircd
  from /usr/ports/UIDs
- Fix compilation so it works with the base system version of the
  openssl libs as well as openssl installed from ports.

PR:		ports/123076
Submitted by:	Matthew Seaman <matthew.seaman@thebunker.net>
Approved by:	Craig Edwards (Brain) <brain@inspircd.org> (maintainer)
2008-05-19 07:01:38 +00:00

11 lines
588 B
Text

--- ./configure.orig 2008-02-21 20:35:25.000000000 +0000
+++ ./configure 2008-04-18 09:12:20.000000000 +0100
@@ -136,7 +136,7 @@
$config{LIBRARY_DIR} = $opt_library_dir;
}
chomp($config{HAS_GNUTLS} = `libgnutls-config --version 2>/dev/null | cut -c 1,2,3`); # GNUTLS Version.
-chomp($config{HAS_OPENSSL} = `pkg-config --modversion openssl 2>/dev/null`); # Openssl version
+chomp($config{HAS_OPENSSL} = `openssl version | cut -d ' ' -f 2`); # Openssl version
chomp($gnutls_ver = $config{HAS_GNUTLS});
chomp($openssl_ver = $config{HAS_OPENSSL});
$config{USE_GNUTLS} = "n";