Bug 57861 - [PATCH] ports/japanese/*fpw*: `make deinstall' fails if NOPORTDOCS is defined
Summary: [PATCH] ports/japanese/*fpw*: `make deinstall' fails if NOPORTDOCS is defined
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: taoka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-11 06:30 UTC by Hideyuki KURASHINA
Modified: 2004-03-03 16:23 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (40.47 KB, patch)
2003-10-11 06:30 UTC, Hideyuki KURASHINA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hideyuki KURASHINA freebsd_committer 2003-10-11 06:30:18 UTC
	1.  Due to lack of %%PORTDOCS%% at beginning of their pkg-plist,
	`make deinstall' fails like this;

	  # make -DNOPORTDOCS deinstall
	  ===>  Deinstalling for japanese/ASCIIdates98-fpw
	  ===>   Deinstalling ja-ASCIIdates98-fpw-1.0
	  pkg_delete: file '/usr/local/share/doc/ASCIIdates98-fpw/readme' doesn't really exist
	  pkg_delete: file '/usr/local/share/doc/ASCIIdates98-fpw' doesn't really exist
	  pkg_delete: unable to completely remove directory '/usr/local/share/doc/ASCIIdates98-fpw'
	  pkg_delete: couldn't entirely delete package (perhaps the packing list is
	  incorrectly specified?)

	2. Utilize DOCSDIR.

Fix: Apply following patch;

	P.S.  I could not check install/deinstall is OK for following ports
	because I don't have their licenses:

	  japanese/eijiro-fpw
	  japanese/mypaedia-fpw
	  japanese/otojiro-fpw
	  japanese/srd-fpw
	  japanese/waeijiro-fpw

	However, changes I made should be harmless I think.

How-To-Repeat: 
	One of examples;

	  # cd /usr/ports/japanese/ASCIIdates98-fpw
	  # make -DNOPORTDOCS install
	  # make -DNOPORTDOCS deinstall
Comment 1 Kirill Ponomarev freebsd_committer 2003-10-11 12:36:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->taoka

Over to maintainer
Comment 2 Norikatsu Shigemura freebsd_committer 2004-03-03 16:23:35 UTC
State Changed
From-To: open->closed

Committed, thanks!