Bug 57861

Summary: [PATCH] ports/japanese/*fpw*: `make deinstall' fails if NOPORTDOCS is defined
Product: Ports & Packages Reporter: Hideyuki KURASHINA <rushani>
Component: Individual Port(s)Assignee: taoka
Status: Closed FIXED    
Severity: Affects Only Me CC: taoka
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Hideyuki KURASHINA freebsd_committer freebsd_triage 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 freebsd_triage 2003-10-11 12:36:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->taoka

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

Committed, thanks!