This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] generic-build-script
- From: Harold L Hunt II <huntharo at msu dot edu>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 21 Jun 2005 15:14:09 -0700
- Subject: Re: [PATCH] generic-build-script
- References: <046c01c576aa$56d49f20$e6ec6f83@chimaera>
Max Bowsher wrote:
[...]
Of course, normally these are the same, but in my case they are not.
Therefore, the following patch changes all occurrences where ${BASEPKG}
is used in the second sense to ${PKG}-${VER}, so that ${BASEPKG} may be
redefined in my case.
[...]
Max,
My two cents:
Stick a comment above the definition for BASEPKG to explain the scenario
where BASEPKG and PKG-VER will be different... otherwise you'll get
dorks like me thinking that a patch reversing your patch would be
useful, and such a thing must just slip in by accident. Of course, the
comment would also help maintainers figure out that this feature is
present and that they can use it.
Since I've not written three times more words that would be in such a
comment, I might as well give it a go:
# NOTE: BASEPKG is "name-version" of the upstream package. Usually this
# is equal to ${PKG}-${VER}, except in the case where the Cygwin package
# name is different than the upstream package name (e.g. upstream:
# "foo-1.0" BASEPKG=foo-1.0, Cygwin package: "bar-1.0" PKG=bar VER=1.0).
Feel free to reword that.
Harold