Subject: Missing file in PLIST for print/tex-jadetex
To: None <>
From: D'Arcy J.M. Cain <>
List: tech-pkg
Date: 06/14/2006 09:34:54
Hubert and I have been discussing this issue and he has suggested that
I bring it to tech-pkg for wider discussion.  Here is the issue.  If
you have set PKG_DEVELOPER to "YES" in your /etc/mk.conf and then
install print/tex-jadetex you get the following error:

=> Registering installation for tex-jadetex-3.13nb4
tex-jadetex-3.13nb4 requires installed package teTeX-bin-3.0nb13
tex-jadetex-3.13nb4 requires installed package tex-hugelatex-2.0nb3
=> Checking for missing run-time search paths in tex-jadetex-3.13nb4
=> Checking for work-directory references in tex-jadetex-3.13nb4
=> Checking file-check results for tex-jadetex-3.13nb4
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/share/texmf/web2c/texmf.cnf-before-jadetex
*** Error code 1

make: stopped in /usr/NetBSD/cvs/pkgsrc/print/tex-jadetex
*** Error code 1

Note:  It still installs but it won't continue if it was built as a
dependency of another package.  You can continue in the other package
by simply running make install again.  It will see that the dependent
package is already installed and continue.  You can also fix this by
removing PKG_DEVELOPER from /etc/mk.conf.  Neither of these seems
reasonable to me.

I thought that the simplest course is to simply make the following
change to PLIST but Hubert, while agreeing that the existing method
needs to be fixed, says that this is not the correct way.  I kind of
agree but I can't see any better way.  Any thoughts?

diff -u -p -u -r1.5 PLIST
--- PLIST       13 Nov 2005 05:30:11 -0000      1.5
+++ PLIST       14 Jun 2006 13:30:16 -0000
@@ -5,7 +5,7 @@ man/man1/jadetex.1
 @exec cp %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf-before-jadetex
-@unexec mv %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf-before-jadetex %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf
+@unexec cp %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf-before-jadetex %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf
@@ -19,6 +19,7 @@ share/sgml/jade/pdfjadetex.ini
 @dirrm ${PKG_TEXMFPREFIX}/tex/jadetex
 @dirrm share/doc/jadetex

D'Arcy J.M. Cain <>