Bug 23702 - devel/patch namespace conflict
Summary: devel/patch namespace conflict
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Trevor Johnson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-21 00:40 UTC by Christian Weisgerber
Modified: 2001-01-11 00:57 UTC (History)
0 users

See Also:


Attachments
file.diff (2.92 KB, patch)
2000-12-21 00:40 UTC, Christian Weisgerber
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Weisgerber 2000-12-21 00:40:00 UTC
The devel/patch port installs GNU patch-2.5 as ${PREFIX}/bin/patch.
This version of GNU patch differs notably from FreeBSD's native
patch in usage and behavior.  Users should not run into different
programs under the same name depending on how their path is set.

The port should install GNU patch under a different name, e.g.
"gpatch" in line with previous GNU and ports tradition.

Fix: The patch set below
- changes devel/patch to install with a 'g' prefix,
- fixes the package description,
- updates the japanese/postgresql7 and www/w3m ports, which have
  GNU patch as a build time dependency, to refer to "gpatch".
Comment 1 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-12-25 13:41:01 UTC
Responsible Changed
From-To: freebsd-ports->ache

Over to maintainer
Comment 2 Akinori MUSHA 2001-01-09 18:46:47 UTC
Hi,

> - changes devel/patch to install with a 'g' prefix,

Would you approve this change?

Having two executables of the same name in different paths causes/is
causing unexpected and undesired troubles.  It would be quite handy to
be able to name either of them appropriately.

The 'g' prefix may sound weird because /usr/bin/patch is also "GNU"
patch, however, we could think this way: /usr/bin/patch is the patch
of our choice (2.1), while ${PREFIX}/bin/gpatch is the patch of GNU's
latest version (2.5).

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"
Comment 3 FUJISHIMA Satsuki freebsd_committer freebsd_triage 2001-01-10 17:36:10 UTC
Responsible Changed
From-To: ache->freebsd-ports

maintainer dropped his maintainership.
Comment 4 Trevor Johnson freebsd_committer freebsd_triage 2001-01-10 18:18:18 UTC
Responsible Changed
From-To: freebsd-ports->trevor

I'll take this.
Comment 5 Trevor Johnson freebsd_committer freebsd_triage 2001-01-11 00:45:54 UTC
State Changed
From-To: open->closed

Committed--thanks, Christian.