pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44425: devel/lua-alt-getopt install problem
The following reply was made to PR pkg/44425; it has been noted by GNATS.
From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: Aleksey Cheusov <cheusov%tut.by@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/44425: devel/lua-alt-getopt install problem
Date: Thu, 20 Jan 2011 18:52:06 +0100
At 19:34 Uhr +0200 20.01.2011, Aleksey Cheusov wrote:
>Try to add the following code to /etc/mk.conf
>
>.PHONY: list-vars
>list-vars:
>.for i in ${VARS}
> @printf '%s=%s\n' ${i} ${${i}:Q}
>.endfor
>
>and then run
>
> cd /var/obj/pkgsrc/devel/lua-alt-getopt/work/lua_alt_getopt_sources
> make list-vars VARS=INSTALL
>
>Does it differ from /usr/bin/install?
% make list-vars VARS=INSTALL
INSTALL=/usr/bin/install
%
>Also make sure that pkgsrc's MAKE_PROGRAM variable points to the same
>program that you use for pkgsrc (tools/make.mk should set it to just 'make'
>but I whant to be sure). And please show MAKEFLAGS too.
>
> cd /misc/netbsd-developer/pkgsrc/devel/lua-alt-getopt
> make show-vars VARS='MAKE_PROGRAM MAKEFLAGS'
%make show-vars VARS='MAKE_PROGRAM MAKEFLAGS'
%
% make list-vars VARS='MAKE_PROGRAM MAKEFLAGS'
MAKE_PROGRAM=/usr/bin/make
MAKEFLAGS=_MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=5.1_RC4
LOWER_OPSYS=netbsd _PKGSRCDIR=/amd/hochstuhl/public/pkgsrc
PKGTOOLS_VERSION=20101212 _CC=/usr/bin/cc
_PATH_ORIG=/home/hf/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin
%
>> You are mixing up two different BSD make frameworks, and tripping over
>> the resulting ball of strings.
>
>I understand the difference. I don't know exactly why 'install -N ...'
>is called on your system but I don't like the way Matthias solved 44415.
Well, I guess the alternative is to teach <bsd.own.mk> that, although the
conditions for inside-NetBSD-src-tree operation are met, you'd rather not.
Setting
INSTPRIV= # empty
does that, but you'd probably want a distinct knob.
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281
Home |
Main Index |
Thread Index |
Old Index