Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 19:26:05 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432564 - head/security/openiked/files
Message-ID:  <201701271926.v0RJQ5n3048266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Jan 27 19:26:05 2017
New Revision: 432564
URL: https://svnweb.freebsd.org/changeset/ports/432564

Log:
  security/openiked: unbreak with libevent >= 2.1
  
  checking libevent header version... not found
  configure: error: libevent version header not found. -I/usr/local/include
  ===>  Script "configure" failed unexpectedly.
  
  PR:		216527

Added:
  head/security/openiked/files/patch-configure.ac   (contents, props changed)

Added: head/security/openiked/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/openiked/files/patch-configure.ac	Fri Jan 27 19:26:05 2017	(r432564)
@@ -0,0 +1,22 @@
+https://github.com/xcllnt/openiked/issues/11
+
+--- configure.ac.orig	2017-01-13 04:16:22 UTC
++++ configure.ac
+@@ -2232,7 +2232,7 @@ AC_RUN_IFELSE(
+ 	if(fd == NULL)
+ 		return(1);
+ 
+-	if ((rc = fprintf(fd ,"%s\n", _EVENT_VERSION)) <0)
++	if ((rc = fprintf(fd ,"%s\n", LIBEVENT_VERSION)) <0)
+ 		return(1);
+ 
+ 	return(0);
+@@ -2308,7 +2308,7 @@ AC_RUN_IFELSE(
+ #include <stdlib.h>
+ #include <string.h>
+ 	]], [[
+-	exit(strcmp(event_get_version(), _EVENT_VERSION) == 0 ? 0 : 1);
++	exit(strcmp(event_get_version(), LIBEVENT_VERSION) == 0 ? 0 : 1);
+ 	]])],
+ 	[
+ 		AC_MSG_RESULT([yes])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701271926.v0RJQ5n3048266>