svn commit: r432564 - head/security/openiked/files
Jan Beich
jbeich at FreeBSD.org
Fri Jan 27 19:26:06 UTC 2017
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])
More information about the svn-ports-head
mailing list