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: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
         Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
Subject: Re: pkg/44425: devel/lua-alt-getopt install problem
Date: Thu, 20 Jan 2011 19:34:18 +0200

 >  But... "make show-vars" is a pkgsrc thing (as in .../src/pkgsrc/mk),
 I asked you to show pkgsrc's INSTALL and INSTALL inside MAKE_ENV
 just to make sure that correct INSTALL variable is passed to
 lua-alt-getopt's make. Now I see that they correct. Thanks.
 
 Now let's see what's the value of INSTALL variable when make is called
 for building lua_alt_getopt code outside pkgsrc.
 
 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?
 
 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'
 
 > 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.
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index