Bug 106998

Summary: devel/gettext w/ NOPORTDOCS installs/orphans HTML documents
Product: Ports & Packages Reporter: Ryan Beasley <ryan.beasley>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ryan Beasley 2006-12-21 11:30:32 UTC
Install of devel/gettext port unconditionally installs gettext_{1,...,21}.html under share/doc/gettext/.  If NOPORTDOCS is defined, these files are still installed but -not- included in the packing list.  As a result, they remain even after the package is removed.

Fix: 

Not sure what the best approach is.  Perhaps a conditional patch of work/gettext-0.14.5/gettext-tools/doc/Makefile.in is in order?
How-To-Repeat: cd /usr/ports/devel/gettext
make -DNOPORTDOCS install
make deinstall
ls /usr/local/share/doc/gettext/gettext*.html
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-21 11:30:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Over to maintainer
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2007-01-31 07:04:49 UTC
State Changed
From-To: open->analyzed

This will be addressed as part of an upcoming upgrade of gettext 
to 0.16.1, making the port considerably easier to manage going forward.
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2007-02-07 10:08:11 UTC
Just for completeness sake, the current proposed patch bring devel/ 
gettext to 0.16.1 and addressing the NOPORTDOCS issue can be found at:

http://www.lovett.com/ade/freebsd/gettext-3.diff

So far, no-one has reported any fallout from this, so please feel  
free to test it out.

-aDe
Comment 4 Ade Lovett freebsd_committer freebsd_triage 2007-03-17 22:43:44 UTC
State Changed
From-To: analyzed->closed

Fixed as part of upgrade to 0.16.1