On Thu, 03 May 2012 22:25:36 +0900, D'Arcy Cain <darcy%vex.net@localhost> wrote:
On 12-05-03 01:59 AM, OBATA Akio wrote:No, broken packaging. PKG_DESTDIR_SUPPORT must be defined before inclusion of bsd.prefs.mk.Now this is the second post that seems to have been written without looking at the Makefile in question. $ egrep -n 'PKG_DESTDIR_SUPPORT|prefs' Makefile 16:PKG_DESTDIR_SUPPORT= user-destdir 41:.include "../../mk/bsd.prefs.mk"
It is because I've already reordered. And not only direct inclusion of bsd.prefs.mk. lang/python/extension.mk => mk/bsd.prefs.mk lang/python/application.mk => lang/python/pyversion.mk => mk/bsd.prefs.mk As your first packaging, PKG_DESTDIR_SUPPORT was defined after inclusion of such lang/python/*.mk files. mk/bsd.prefs.mk will change its behavior with PKG_DESTDIR_SUPPORT settings, so it must be defined before. Please refer doc/Makefile-example, it should be the right order. -- OBATA Akio / obache%NetBSD.org@localhost