Bug 207719

Summary: [PATCH] emulators/qemu-devel: fix with DOCS=off
Product: Ports & Packages Reporter: Roman Bogorodskiy <novel>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bofh: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
emulators/qemu-devel: fix with DOCS disabled none

Description Roman Bogorodskiy freebsd_committer freebsd_triage 2016-03-05 09:57:28 UTC
Created attachment 167737 [details]
emulators/qemu-devel: fix with DOCS disabled

When DOCS is disabled, qemu-devel fails to stage with:

===>   Generating temporary packing list
gmake[2]: Entering directory '/usr/ports/emulators/qemu-devel/work/qemu-2.5.0'
/usr/bin/install -c -d -m 0755 "/usr/ports/emulators/qemu-devel/work/stage/usr/local/share/doc/qemu"
/usr/bin/install -c -d -m 0755 "/usr/ports/emulators/qemu-devel/work/stage/usr/local/man/man1"
/usr/bin/install -c -c -m 0644 qemu.1 "/usr/ports/emulators/qemu-devel/work/stage/usr/local/man/man1"
/usr/bin/install -c -c -m 0644 qemu-img.1 "/usr/ports/emulators/qemu-devel/work/stage/usr/local/man/man1"
/usr/bin/install -c -d -m 0755 "/usr/ports/emulators/qemu-devel/work/stage/usr/local/man/man8"
/usr/bin/install -c -c -m 0644 qemu-nbd.8 "/usr/ports/emulators/qemu-devel/work/stage/usr/local/man/man8"
/usr/bin/install -c -c -m 0644 qemu-ga.8 "/usr/ports/emulators/qemu-devel/work/stage/usr/local/man/man8"
install: qemu-ga.8: No such file or directory
Makefile:413: recipe for target 'install-doc' failed
gmake[2]: *** [install-doc] Error 71
gmake[2]: Leaving directory '/usr/ports/emulators/qemu-devel/work/qemu-2.5.0'
*** Error code 2

qemu-ga.8 actually should not be excluded from PORTDOCS and, moreover, it's unconditionally listed in pkg-plist. The attached patch resolves the issue for me.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-03-09 00:11:28 UTC
A commit references this bug:

Author: bofh
Date: Wed Mar  9 00:11:05 UTC 2016
New revision: 410671
URL: https://svnweb.freebsd.org/changeset/ports/410671

Log:
  emulators/qemu-devel: fix with DOCS=off [1]

  - Fix for GNUTLS_CONFIGURE_ON [2]
  - Fix for PCAP_CONFIGURE_OFF [2]
  - Bump PORT Revision

  PR:		207719 [1], 205826 [2]
  Submitted by:	novel [1], riggs [2]

Changes:
  head/emulators/qemu-devel/Makefile
  head/emulators/qemu-devel/files/patch-Makefile