pkgsrc-Bugs archive

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

Re: pkg/44695: Please add build setting for multi-packages to _BUILD_DEFS [patch]



The following reply was made to PR pkg/44695; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/44695: Please add build setting for multi-packages to 
_BUILD_DEFS [patch]
Date: Tue, 08 Mar 2011 12:09:56 +0200

 >  Judging from your replies to emails, I seem not to understand what you
 >  want here.
 >  For example, which version(s) do you want to build in this case?
 I hope the following will explain my idea.
 
 0 ~>path=`pkg_info -QPKGPATH /srv/pkgsrc_bin/NetBSD/All/ap13-php53-5.3.5.tgz`
 
 0 ~>multi=`pkg_info -QMULTI /srv/pkgsrc_bin/NetBSD/All/ap13-php53-5.3.5.tgz`
 
 0 ~>echo $path
 www/ap-php
 
 0 ~>echo $multi
 PHP_VERSION_REQD=53 PKG_APACHE=apache13
 
 0 ~>cd /srv/pkgsrc/$path
 
 0 ap-php>make list-vars VARS=PKGNAME
 PKGNAME=ap22-php5-5.2.17
 
 0 ap-php>make list-vars VARS=PKGNAME $multi
 PKGNAME=ap13-php53-5.3.5
 
 0 ap-php>make build $multi
 ...
 
 >  Also, what new information does your patch give tools vs. the existing
 >  lines, e.g. from apache.mk:
 >  BUILD_DEFS+=                    PKG_APACHE_DEFAULT
 PKG_APACHE_DEFAULT is useless for package rebuilding.
 It is not garanteed that *_DEFAULT is in *_ACCEPTED.
 
 >  BUILD_DEFS_EFFECTS+=            PKG_APACHE APACHE_PKG_PREFIX
 PKG_APACHE is not a part of "Build information".
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index