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 14:19:36 +0200

 >  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
 >  ...
 
 Alternative scenario
 
 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 ~>test -n "$multi" && multi=:$multi
 0 ~>distbb -p $path`echo $multi | tr ' ' ,`
 
 As you can see I don't care about Python, Ruby, PHP and Apache at all.
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index