diff options
author | pav <pav@FreeBSD.org> | 2010-06-02 23:35:11 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2010-06-02 23:35:11 +0800 |
commit | 5760aec058a0a64dac854fd4984260e1c8a12729 (patch) | |
tree | 9272224469035c6cb9eaf7481fa4cad689b97189 /irc/inspircd | |
parent | 90463864d4baa7cd8d5afd61fd833776b13db994 (diff) | |
download | freebsd-ports-gnome-5760aec058a0a64dac854fd4984260e1c8a12729.tar.gz freebsd-ports-gnome-5760aec058a0a64dac854fd4984260e1c8a12729.tar.zst freebsd-ports-gnome-5760aec058a0a64dac854fd4984260e1c8a12729.zip |
- Fix build of gnutls module
PR: ports/144989
Submitted by: Austin Teague <opticshade@gmail.com>
Approved by: maintainer timeout (2 months)
Diffstat (limited to 'irc/inspircd')
-rw-r--r-- | irc/inspircd/Makefile | 1 | ||||
-rw-r--r-- | irc/inspircd/files/patch-configure | 14 | ||||
-rw-r--r-- | irc/inspircd/files/patch-m_ssl_gnutls.cpp | 13 |
3 files changed, 21 insertions, 7 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile index 22ed3497a8b6..68a7f8fb53bc 100644 --- a/irc/inspircd/Makefile +++ b/irc/inspircd/Makefile @@ -20,6 +20,7 @@ USE_GMAKE= yes USE_BZIP2= yes USE_LDCONFIG= ${PREFIX}/lib/inspircd USE_RC_SUBR= inspircd.sh +DISABLE_MAKE_JOBS= yes INSPIRCD_USR?= ircd INSPIRCD_UID?= 72 diff --git a/irc/inspircd/files/patch-configure b/irc/inspircd/files/patch-configure index 1f9f4dfd13e5..00dddc19ef86 100644 --- a/irc/inspircd/files/patch-configure +++ b/irc/inspircd/files/patch-configure @@ -1,11 +1,11 @@ ---- ./configure.orig 2008-02-21 20:35:25.000000000 +0000 -+++ ./configure 2008-04-18 09:12:20.000000000 +0100 -@@ -136,7 +136,7 @@ +--- ./configure.orig 2008-05-10 20:19:59.000000000 -0400 ++++ ./configure 2010-03-23 18:50:19.000000000 -0400 +@@ -135,7 +135,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($config{HAS_GNUTLS} = `libgnutls-config --version 2>/dev/null | cut -c 1,2,3`); # GNUTLS Version. ++chomp($config{HAS_GNUTLS} = `pkg-config gnutls --modversion 2>/dev/null | cut -c 1,2,3`); # GNUTLS Version. + chomp($config{HAS_OPENSSL} = `pkg-config --modversion openssl 2>/dev/null`); # Openssl version chomp($gnutls_ver = $config{HAS_GNUTLS}); chomp($openssl_ver = $config{HAS_OPENSSL}); - $config{USE_GNUTLS} = "n"; diff --git a/irc/inspircd/files/patch-m_ssl_gnutls.cpp b/irc/inspircd/files/patch-m_ssl_gnutls.cpp new file mode 100644 index 000000000000..2302df36f8cc --- /dev/null +++ b/irc/inspircd/files/patch-m_ssl_gnutls.cpp @@ -0,0 +1,13 @@ +--- ./src/modules/extra/m_ssl_gnutls.cpp.orig 2008-04-02 14:37:17.000000000 -0400 ++++ ./src/modules/extra/m_ssl_gnutls.cpp 2010-03-23 20:27:41.000000000 -0400 +@@ -32,8 +32,8 @@ + #endif + + /* $ModDesc: Provides SSL support for clients */ +-/* $CompileFlags: exec("libgnutls-config --cflags") */ +-/* $LinkerFlags: rpath("libgnutls-config --libs") exec("libgnutls-config --libs") */ ++/* $CompileFlags: pkgconfincludes("gnutls","/gnutls/gnutls.h","") */ ++/* $LinkerFlags: rpath("pkg-config --libs gnutls") pkgconflibs("gnutls","/libgnutls.so","-lgnutls") */ + /* $ModDep: transport.h */ + + |