Date: Wed, 31 Dec 2003 14:50:24 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: Hiroki Sato <hrs@FreeBSD.org> Cc: freebsd-ports@FreeBSD.org Subject: Re: xmlcatmgr & docproj broken? Message-ID: <7mznd9sfhb.wl@black.imgsrc.co.jp> In-Reply-To: <20031230.034512.64801373.hrs@eos.ocn.ne.jp> References: <200312291610.LAA13349885@shell.TheWorld.com> <20031230.013349.35008002.hrs@eos.ocn.ne.jp> <20031229174252.GC719@chetwood.ru> <20031230.034512.64801373.hrs@eos.ocn.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 30 Dec 2003 03:45:12 +0900 (JST), Hiroki Sato wrote: > This problem has nothing to do with xmlcatmgr itself. When you deinstall > the port, the CATALOG line is not removed. This is because the port's Makefile > adds 'CATALOG "${RELDIR}"' during the post-install target, > but 'CATALOG "${PREFIX}/share/sgml/${RELDIR}"' when the port is > deinstalled (in pkg-plist). This inconsistent behavior > makes the installation just after deinstallation fail; adding > 'CATALOG "${RELDIR}"' is rejected since the line already exists. > > BTW, when you use the package, the adding/removing CATALOG line always use > 'CATALOG "${PREFIX}/share/sgml/${RELDIR}"', so the problem does not appear. > > Probably a fix, something like the attached patch, is needed. > At least, I could reproduce the problem using "make install; make deinstall; > make install" in textproc/dsssl-docbook-modular. Yes, I misused variables. Fix committed. -- Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mznd9sfhb.wl>