tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-HEAD NetBSD 5.1/x86_64 20120425.1606

On Thu, 03 May 2012 22:25:36 +0900, D'Arcy Cain <> wrote:

On 12-05-03 01:59 AM, OBATA Akio wrote:
No, broken packaging.
PKG_DESTDIR_SUPPORT must be defined before inclusion of

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/"

It is because I've already reordered.

And not only direct inclusion of
 lang/python/ => mk/
 lang/python/ => lang/python/ => mk/

As your first packaging, PKG_DESTDIR_SUPPORT was defined
after inclusion of such lang/python/*.mk files.

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 /

Home | Main Index | Thread Index | Old Index