Bug 192492 - games/py-fife: Fails when installing without DOCS
games/py-fife: Fails when installing without DOCS
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: --- Affects Only Me
Assigned To: FreeBSD ports mailing list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-07 21:34 UTC by arcade
Modified: 2014-08-11 14:30 UTC (History)
3 users (show)

See Also:


Attachments
fix (755 bytes, patch)
2014-08-07 23:10 UTC, fiziologus
no flags Details | Diff
final fix (1.16 KB, patch)
2014-08-08 23:48 UTC, fiziologus
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description arcade 2014-08-07 21:34:08 UTC
Fails when installing without DOCS:

===>>> Dependency check complete for games/py-fife

===>>> games/unknown-horizons >> games/py-fife (1/1)

===>  Installing for py27-fife-0.3.5_2
===>  Checking if games/py-fife already installed
===>   Registering installation for py27-fife-0.3.5_2 as automatic
pkg-static: lstat(/tmp/ports/usr/ports/games/py-fife/work/stage/usr/local/share/doc/fife/AUTHORS): No such file or directory
pkg-static: lstat(/tmp/ports/usr/ports/games/py-fife/work/stage/usr/local/share/doc/fife/CHANGES): No such file or directory
pkg-static: lstat(/tmp/ports/usr/ports/games/py-fife/work/stage/usr/local/share/doc/fife/COPYING): No such file or directory
pkg-static: lstat(/tmp/ports/usr/ports/games/py-fife/work/stage/usr/local/share/doc/fife/README): No such file or directory
pkg-static: lstat(/tmp/ports/usr/ports/games/py-fife/work/stage/usr/local/share/doc/fife/): No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/games/py-fife
*** Error code 1

Stop.
make: stopped in /usr/ports/games/py-fife

It seems to me that ${DOCSDIR} is always defined making all files and directories tagged as %%DOCSDIR%% mandatory.
Comment 1 John Marino freebsd_committer 2014-08-07 21:45:11 UTC
Notify maintainer in CC
Comment 2 fiziologus 2014-08-07 23:10:17 UTC
Created attachment 145490 [details]
fix

Try this.

[off] Guys, you may made freebsd's bugzilla more stable in case connect.[/off]
Comment 3 arcade 2014-08-08 08:32:55 UTC
Mostly works... Patch misses "OPTIONS_SUB=yes" for the Makefile.
Comment 4 fiziologus 2014-08-08 23:48:46 UTC
Created attachment 145542 [details]
final fix

Final fix for "WITHOUT=DOCS"
Comment 5 John Marino freebsd_committer 2014-08-11 08:43:44 UTC
fix provided, moving to patch-ready
Comment 6 commit-hook freebsd_committer 2014-08-11 14:30:10 UTC
A commit references this bug:

Author: wg
Date: Mon Aug 11 14:29:27 UTC 2014
New revision: 364616
URL: http://svnweb.freebsd.org/changeset/ports/364616

Log:
  games/py-fife: fix build without docs

  PR:		192492
  Submitted by:	arcade b1t name (with changes)

Changes:
  head/games/py-fife/Makefile
  head/games/py-fife/pkg-plist