nixers
[SOLVED] pkgsrc mk files - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Operating Systems & Administration (https://nixers.net/Forum-Operating-Systems-Administration)
+--- Forum: GNU/Linux (https://nixers.net/Forum-GNU-Linux)
+--- Thread: [SOLVED] pkgsrc mk files (/Thread-SOLVED-pkgsrc-mk-files)


[SOLVED] pkgsrc mk files - nrmc.dubz - 19-12-2013

Hello Unixhub.

I've installed NetBSD's pkgsrc (and depencies) on my Linux system and bootstraped it.

After I cd'd in in the tree for testing it and run
Code:
bmake clean install

But there are some errors related to the mk files:

Code:
bmake: "/usr/share/mk/own.mk" line 125: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake: "/usr/share/mk/own.mk" line 223: Malformed conditional (${MK_LINKLIB} == "no")
bmake: "/usr/share/mk/own.mk" line 228: Malformed conditional (${MK_MAN} == "no")
bmake: "/usr/share/mk/own.mk" line 232: Malformed conditional (${MK_OBJ} == "no")
bmake: "/usr/share/mk/own.mk" line 237: Malformed conditional (${MK_SHARE} == "no")
bmake: "/usr/share/mk/bsd.own.mk" line 125: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake: "/usr/share/mk/bsd.own.mk" line 223: Malformed conditional (${MK_LINKLIB} == "no")
bmake: "/usr/share/mk/bsd.own.mk" line 228: Malformed conditional (${MK_MAN} == "no")
bmake: "/usr/share/mk/bsd.own.mk" line 232: Malformed conditional (${MK_OBJ} == "no")
bmake: "/usr/share/mk/bsd.own.mk" line 237: Malformed conditional (${MK_SHARE} == "no")
bmake: Fatal errors encountered -- cannot continue
bmake: stopped in /home/danny/pkgsrc/editors/elvis

At first I am sure that this files should be in /usr/pkg/share/mk but maybe I'm wrong. But I'm sure that the 'malformed conditionals' are NOT malformed.

Can UnixHub help me to understand and fix?

== EDIT ==

Solved by recreating /var/db/pkg files

== /EDIT ==