Opened 12 years ago

Last modified 8 years ago

#34407 closed defect

glw: libtool: link: require no space between `-L' and `-lXft' — at Version 1

Reported by: howarth@… Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: haspatch Cc: ryandesign@…
Port: glw

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Currently glw fails on 10.7 with...

/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/clang   -pipe -O2 -arch x86_64 -I/opt/local/include   -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -version-info 1:0:0 -no-undefined -L/opt/local/lib -arch x86_64 -o libGLw.la -rpath /opt/local/lib libGLw_la-GLwDrawA.lo libGLw_la-GLwMDrawA.lo -L/opt/local/lib -lXt -lX11    -L/opt/local/lib -lGL   -L/opt/local/lib -L/usr/X11R6/lib -lXm -lXt  -L -lXft -lXrender -lXext -lX11
libtool: link: require no space between `-L' and `-lXft'
make: *** [libGLw.la] Error 1

This issue can be worked around with the attached hack to the glw Portfile.

Change History (3)

Changed 12 years ago by howarth@…

Attachment: Portfile.diff added

Portfile hack to work around stray -L

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: haspatch added; x11 removed
Owner: changed from macports-tickets@… to css@…
Summary: glw build brokenglw: libtool: link: require no space between `-L' and `-lXft'

Could you attach the main.log showing the build failure? It didn't fail for me before I committed it...

Changed 12 years ago by howarth@…

Attachment: main.log added

failed build log

Note: See TracTickets for help on using tickets.