Bug 23702

Summary: devel/patch namespace conflict
Product: Ports & Packages Reporter: Christian Weisgerber <naddy>
Component: Individual Port(s)Assignee: Trevor Johnson <trevor>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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.