Opened 14 years ago

Closed 14 years ago

#25946 closed defect (fixed)

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

Reported by: jmroot (Joshua Root) Owned by: ryandesign (Ryan Carsten Schmidt)
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 (5)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: gdlib-config is brokengd2: 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 14 years ago by jmroot (Joshua Root)

Summary: gd2: gdlib-config is brokengd2 @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 14 years ago by jmroot (Joshua Root)

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

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

Status: newassigned

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 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Fixed in r70290.

Note: See TracTickets for help on using tickets.