xmlcatmgr & docproj broken?
Jun Kuriyama
kuriyama at imgsrc.co.jp
Tue Dec 30 21:50:30 PST 2003
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 at imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama at FreeBSD.org> // FreeBSD Project
More information about the freebsd-ports
mailing list