ncplib port build

Malcolm Kay malcolm.kay at internode.on.net
Mon Aug 18 06:50:29 PDT 2003


I have a problem building ncplib.
This is isn the ports as distributed with FreeBSD 4.8.

The reported error is:
----------------------------------------------------------------------------------------------------------
"/usr/share/mk/bsd.libnames.mk", line 8: bsd.libnames.mk cannot be included 
directly.
*** Error code 1

Stop in /usr/ports/net/ncplib/work/ncplib-1.3.4.
*** Error code 1

Stop in /usr/ports/net/ncplib.
-----------------------------------------------------------------------------------------------------------

I can see the problem, bsd.libnames.mk line 8 tests whether the file is 
included from bsd.init.mk which it isn't and therefore produces an error.

But can someone please point me to the fix?
Is it enough to include bsd.init.mk instead of bsd.libnames.mk in the 
offending Makefile?

Malcolm


More information about the freebsd-questions mailing list