Re: scrotwm can't find bsd.prog.mk

2009-05-14 Thread Mel Flynn
On Thursday 14 May 2009 10:54:43 Saifi Khan wrote:
 Hi:

 Trying to compile scrotwm (from OpenBSD ports)
 http://www.peereboom.us/scrotwm/html/scrotwm.html
 on my FreeBSD 8.x 200905 i386  system.

 and make can't find
  .include bsd.prog.mk
  .include bsd.xorg.mk

 The directory /usr/ports/Mk/ has bsd.xorg.mk file but not
 bsd.prog.mk

The OpenBSD ports system is not the same as the FreeBSD ports one. FreeBSD 
ports all use bsd.port.mk, which pulls in prog.mk from /usr/share/mk 
automagically. xorg.mk is also automagically pulled in when USE_XORG is set.

You need to port the port, compile by hand or ask someone to port the port.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


scrotwm can't find bsd.prog.mk

2009-05-13 Thread Saifi Khan
Hi:

Trying to compile scrotwm (from OpenBSD ports)
http://www.peereboom.us/scrotwm/html/scrotwm.html
on my FreeBSD 8.x 200905 i386  system.

and make can't find 
 .include bsd.prog.mk
 .include bsd.xorg.mk

The directory /usr/ports/Mk/ has bsd.xorg.mk file but not
bsd.prog.mk

Is there a work around ?


thanks
Saifi.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: scrotwm can't find bsd.prog.mk

2009-05-13 Thread Polytropon
On Thu, 14 May 2009 08:54:43 + (GMT), Saifi Khan saifi.k...@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.mkbsd.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.mkbsd.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.mkbsd.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.mkbsd.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.mkbsd.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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org