Bug 198907 - www/nghttp2 can not be upgraded
Summary: www/nghttp2 can not be upgraded
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 19:48 UTC by Mikhail T.
Modified: 2015-03-27 13:50 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Add another subdirectory to include-path (572 bytes, patch)
2015-03-25 19:48 UTC, Mikhail T.
no flags Details | Diff
Update the port to 0.7.9 released today. (1.41 KB, patch)
2015-03-26 16:54 UTC, Mikhail T.
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2015-03-25 19:48:05 UTC
Created attachment 154803 [details]
Add another subdirectory to include-path

Building 0.7.7 while 0.7.5 is installed does not work -- because compiling some files still picks up the earlier version's headers under ${LOCALBASE}/include/nghttp2 instead of the current versions under WRKSRC.

The fix is simple (see patch). Please, commit or allow me to. Thank you.
Comment 1 Mikhail T. 2015-03-26 16:47:27 UTC
An alternative would be to upgrade to 0.7.9 released by the author less than an hour ago:

https://github.com/tatsuhiro-t/nghttp2/releases
Comment 2 Mikhail T. 2015-03-26 16:54:31 UTC
Created attachment 154836 [details]
Update the port to 0.7.9 released today.

Among other bug-fixes, the potential conflicts with the already-installed headers from earlier version of nghttp2 have already been resolved upstream.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-03-27 13:47:42 UTC
A commit references this bug:

Author: sunpoet
Date: Fri Mar 27 13:47:25 UTC 2015
New revision: 382412
URL: https://svnweb.freebsd.org/changeset/ports/382412

Log:
  - Update to 0.7.9

  Changes:	https://github.com/tatsuhiro-t/nghttp2/releases
  PR:		198907
  Submitted by:	mi

Changes:
  head/www/nghttp2/Makefile
  head/www/nghttp2/distinfo
  head/www/nghttp2/pkg-plist
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-03-27 13:50:07 UTC
Committed. Thanks!