Opened 8 years ago

Closed 8 years ago

#51989 closed defect (fixed)

gdal puts gdal-bash-completion.sh at /opt/local/opt/local/etc/bash_completion.d/

Reported by: Russell-Jones-OxPhys (Russell Jones) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gdal

Description

I couldn't see at a glance why this happens (the Portfile contains no mention of bash or etc, but no other files are put in this location).

Change History (5)

comment:1 Changed 8 years ago by Russell-Jones-OxPhys (Russell Jones)

Cc: russell.jones@… added

Cc Me!

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: vince@… russell.jones@… removed
Keywords: bash_completion removed
Owner: changed from macports-tickets@… to vince@…

As reporter, you do not need to Cc yourself.

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Here is the upstream ticket: https://trac.osgeo.org/gdal/ticket/6607

The patch attached there and committed in https://trac.osgeo.org/gdal/changeset/35060 are what I came up with before I found the upstream ticket, and what I will commit to MacPorts shortly. The subsequent discussions of that breaking installations to the home directory don't apply to MacPorts which doesn't install there (or if the user did install it there, they would have installed bash-completion there as well.)

Additionally, the problem is that gdal has opportunistically detected the existence of bash-completion. gdal therefore needs build dependencies on bash-completion and pkgconfig.

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In 709fef88/macports-ports:

gdal: Install gdal-bash-completion.sh to the right directory

Closes: #51989

Note: See TracTickets for help on using tickets.