Bug 207719 - [PATCH] emulators/qemu-devel: fix with DOCS=off
Summary: [PATCH] emulators/qemu-devel: fix with DOCS=off
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: Muhammad Moinur Rahman
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-03-05 09:57 UTC by Roman Bogorodskiy
Modified: 2016-03-09 00:16 UTC (History)
0 users

See Also:
bofh: maintainer-feedback+


Attachments
emulators/qemu-devel: fix with DOCS disabled (896 bytes, patch)
2016-03-05 09:57 UTC, Roman Bogorodskiy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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