pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Unable to ci wip/Makefile
- To: "Julio M. Merino Vidal" <jmmv84%gmail.com@localhost>
- Subject: Re: Unable to ci wip/Makefile
- From: Mehul Sanghvi <mehul.sanghvi%gmail.com@localhost>
- Date: Tue, 16 Aug 2005 09:42:02 -0400 See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name -0.0 AWL AWL: From: address is in the auto white-list
On 8/16/05, Julio M. Merino Vidal <jmmv84%gmail.com@localhost> wrote:
> On 8/16/05, Mehul Sanghvi <mehul.sanghvi%gmail.com@localhost> wrote:
> > > - WRKSRC defaults to ${WRKDIR}/${DISTNAME}, so you don't need to set it.
> >
> > Yup, that is true, but since I was setting PKGNAME to something
> > diffrent, it was needed.
> > Now that I've removed PKGNAME, it is not needed and so taken out.
>
> No. WRKSRC is always derived from DISTNAME, so you don't need to
> set it even if you manually change PKGNAME.
>
While doing the work on vtwm, in one of the initial versions I had,
before I discovered
url2pkg, I had borrowed the Makefile from wm/tvtwm and also used ports2pkg as
a FreeBSD port already existed.
In one of those, I can't remember which one it was, I had set the
PKGNAME to vtwm
while the DISTNAME was vtwm-5.4.7. While doing a make, the build was trying to
cd to work/vtwm which didn't exist, instead of work/vtwm-5.4.7, since
vtwm untars into
vtwm-5.4.7.
Based on that experience, I was trying to be careful and make sure that the
build worked correctly, even if I had PKGNAME set to something
diffrent then DISTNAME.
What I was trying to do by setting the PKGNAME was to get the following effect:
prompt# pkg_add vtwm
rather then having to do
prompt# pkg_add vtwm-5.4.7
Is this incorrect behaviour for NetBSD/pkgsrc ?
cheers,
mehul
--
Mehul N. Sanghvi
email: mehul.sanghvi%gmail.com@localhost
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index