pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

IMAKE and PLIST



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.



Home | Main Index | Thread Index | Old Index