Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 06:12:01 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Saifi Khan <saifi.khan@twincling.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: scrotwm can't find <bsd.prog.mk>
Message-ID:  <20090514061201.a2ffcc4d.freebsd@edvax.de>
In-Reply-To: <Pine.LNX.4.64.0905140850460.9236@localhost>
References:  <Pine.LNX.4.64.0905140850460.9236@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 May 2009 08:54:43 +0000 (GMT), Saifi Khan <saifi.khan@twincling.org> wrote:
> The directory /usr/ports/Mk/ has bsd.xorg.mk file but not
> bsd.prog.mk

Seems to be completely normal

	% cd /usr/ports/Mk
	% ls
	bsd.apache.mk        bsd.kde.mk           bsd.port.post.mk
	bsd.autotools.mk     bsd.kde4.mk          bsd.port.pre.mk
	bsd.cmake.mk         bsd.ldap.mk          bsd.port.subdir.mk
	bsd.commands.mk      bsd.linux-apps.mk    bsd.python.mk
	bsd.database.mk      bsd.linux-rpm.mk     bsd.qt.mk
	bsd.destdir.mk       bsd.local.mk         bsd.ruby.mk
	bsd.efl.mk           bsd.lua.mk           bsd.scons.mk
	bsd.emacs.mk         bsd.mail.mk          bsd.sdl.mk
	bsd.fpc.mk           bsd.ocaml.mk         bsd.sites.mk
	bsd.gcc.mk           bsd.octave.mk        bsd.tcl.mk
	bsd.gecko.mk         bsd.openssl.mk       bsd.wx.mk
	bsd.gnome.mk         bsd.perl.mk          bsd.xfce.mk
	bsd.gnustep.mk       bsd.php.mk           bsd.xorg.mk
	bsd.gstreamer.mk     bsd.port.mk
	bsd.java.mk          bsd.port.options.mk



> Is there a work around ?

Yes, there is some work around. :-) Maybe you can pull the file
needed from some other location on your system:

	% locate bsd.prog.mk
	/usr/share/mk/bsd.prog.mk
	/usr/src/share/mk/bsd.prog.mk
	/usr/src/tools/build/mk/bsd.prog.mk

As far as I know, FreeBSD keeps its .mk files in /usr/share/mk/,
evem for tjhe ports system.

	% ls
	bsd.README           bsd.kmod.mk          bsd.port.post.mk
	bsd.compat.mk        bsd.lib.mk           bsd.port.pre.mk
	bsd.cpu.mk           bsd.libnames.mk      bsd.port.subdir.mk
	bsd.dep.mk           bsd.links.mk         bsd.prog.mk
	bsd.doc.mk           bsd.man.mk           bsd.snmpmod.mk
	bsd.endian.mk        bsd.nls.mk           bsd.subdir.mk
	bsd.files.mk         bsd.obj.mk           bsd.symver.mk
	bsd.incs.mk          bsd.own.mk           bsd.sys.mk
	bsd.info.mk          bsd.port.mk          sys.mk
	bsd.init.mk          bsd.port.options.mk  version_gen.awk

If they aren't there (maybe due to a defective install / upgrade procedure),
you can get them from the source tree.

	# cd /usr/src/share/mk
	# make install




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090514061201.a2ffcc4d.freebsd>