New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25946 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

gd2 @2.0.35_7 +universal: gdlib-config is broken

Reported by: jmr@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: gd2

Description

% /opt/local/bin/gdlib-config --version     
/opt/local/bin/gdlib-config: line 41: syntax error near unexpected token `then'
/opt/local/bin/gdlib-config: line 41: `iftest $# -eq 0; then'

Seems to be missing spaces between lots of words.

Change History

comment:1 Changed 3 years ago by ryandesign@…

  • Summary changed from gdlib-config is broken to gd2: gdlib-config is broken

I experienced this once before in #21951 but was not able to determine what happened. If anyone has any insight please let me know.

comment:2 Changed 3 years ago by jmr@…

  • Summary changed from gd2: gdlib-config is broken to gd2 @2.0.35_7 +universal: gdlib-config is broken

Seems to be reproducible for me; non-universal is OK, +universal is broken.

comment:3 Changed 3 years ago by jmr@…

The first post-build reinplace is removing the first space on each line because configure.universal_ldflags is empty.

comment:4 Changed 3 years ago by ryandesign@…

  • Status changed from new to assigned

Ah, that was added in r50570 without my input; see #19391.

The goal of this particular block seems to be to remove the archflags from the config script; I'll rewrite it in the way that's now advocated by the PortfileRecipes to avoid the problem.

comment:5 Changed 3 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r70290.

Note: See TracTickets for help on using tickets.