line 133 of pkgsrc/x11/tk/patches/patch-unix_configure :
+ TK_LIB_SPEC="-L${libdir} ${COMPILER_RPATH_FLAG}${libdir} {TK_LIB_FLAG}"
add $ there?
On Wed, Jun 26, 2019 at 06:28:25PM -0700, Paul Goyette wrote:
With up-to-date pkgsrc, I'm getting an error building time/ical
c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -o ical ical-cal_tcl.o ical-dateeditor.o ical-dispatch.o ical-ical.o ical-ical_tcl.o ical-item_tcl.o ical-object.o ical-time_tcl.o ical-main.o libcalendar.a libtime.a libtypes.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib {TK_LIB_FLAG} -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl86 -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -lX11 -lXss -lXext -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lXft -lfontconfig -lpthread -lz -lpthread -lm
g++: error: {TK_LIB_FLAG}: No such file or directory
gmake[1]: *** [Makefile:529: ical] Error 1
Looks lke there might be a missing $ somewhere in a Makefile since the
{TK_LIB_FLAG} seems not to have been expanded/substituted.