Subject: mk/ by-passes's PREFER_PKGSRC?
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 05/07/2004 23:14:12
mk/ is:

.if !exists(/usr/include/curses.h) && \
.  include "../../devel/ncurses/"

This means if the pkgsrc builder chose to use PREFER_PKGSRC=ncurses or
PREFER_PKGSRC=YES or PREFER.ncurses=pkgsrc, it would not be honored if
/usr/include/curses.h or /usr/include/ncurses.h exists.

Am I understanding this correctly? Should all the following packages be
fixed to replace
.include "../../mk/"
.include "../../devel/ncurses/"

devel/physfs/ "../../mk/"
audio/cam/Makefile:.include "../../mk/"
audio/gmodplay/Makefile:.include "../../mk/"
audio/lame/Makefile:.include "../../mk/"
devel/physfs/Makefile:.include "../../mk/"
editors/bvi/Makefile:.include "../../mk/"
games/zombies/Makefile:.include "../../mk/"
misc/gnome2-utils/Makefile:.include "../../mk/"
net/trafshow/Makefile:.include "../../mk/"
wip/elmo/Makefile:.include "../../mk/"
www/lynx/Makefile:.  include "../../mk/"

And should mk/curses.buildlink?.mk be removed?

 Jeremy C. Reed

 	  	 	 technical support & remote administration