Bug 204293

Summary: www/apache24: does not compile in poudriere with HTTP2 enabled
Product: Ports & Packages Reporter: Matthias Fechner <mfechner>
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed FIXED    
Severity: Affects Some People CC: ohauer
Priority: --- Flags: bugzilla: maintainer-feedback? (apache)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fixes build problem with option HTTP2 enabled none

Description Matthias Fechner freebsd_committer freebsd_triage 2015-11-04 18:10:11 UTC
Created attachment 162784 [details]
Fixes build problem with option HTTP2 enabled

Compiling apache24 version 2.4.17 fail with option HTTP2 enabled in poudriere.
The error message found is:
configure:18238: checking for user-provided nghttp2 base directory
configure:18251: result: none
configure:18589: checking for nghttp2 version >= 1.0.0
configure:18608: cc -c -O2 -pipe  -I/usr/include -fstack-protector -fno-strict-aliasing   conftest.c >&5
conftest.c:42:10: fatal error: 'nghttp2/nghttp2ver.h' file not found
#include <nghttp2/nghttp2ver.h>
         ^
1 error generated.

The attached patch fixes the problem.
Comment 1 Olli Hauer freebsd_committer freebsd_triage 2015-11-04 18:34:46 UTC
Oh, this was lost in the last update.
Thanks for the report, update is on the way!
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-11-04 18:39:23 UTC
A commit references this bug:

Author: ohauer
Date: Wed Nov  4 18:38:59 UTC 2015
New revision: 400752
URL: https://svnweb.freebsd.org/changeset/ports/400752

Log:
  - fix build with nghttp2

  no version bump as OPTION is off by default

  PR:		204293
  Submitted by:	<idefix_at_fechner.net>

Changes:
  head/www/apache24/Makefile
Comment 3 Olli Hauer freebsd_committer freebsd_triage 2015-11-04 18:39:54 UTC
Fix committed,
 Thanks!