Subject: IMAKE and PLIST
To: None <pkgsrc-users@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 12/27/2007 21:58:06
Under NetBSD in a chroot-ed environment building IMAKE=yes packages
fails like this
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/man/cat1/xli.0
ERROR: /usr/pkg/man/cat1/xlito.0
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR: /usr/pkg/man/man1/xli.0
ERROR: /usr/pkg/man/man1/xlito.0
This happens because of the following difference in a generated Makefile
@@ -121,7 +121,7 @@
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = $(PREFIX)/man
MANSOURCEPATH = $(MANPATH)/cat
- MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
+ MANDIR = /usr/pkg/man/man1
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)
MISCMANDIR = $(MANSOURCEPATH)$(MISCMANSUFFIX)
and the fact that pkgsrc's variable IMAKE_MAN_DIR is set to man/cat1.
Can anybody explain this?
--
Best regards, Aleksey Cheusov.