pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: time/ical build failure

On Wed, 26 Jun 2019, Tom Spindler (moof) wrote:

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.

OK, I just rebuilt all of my packages, and I can confirm that this was
indeed the source of my problem.

Thanks for finding it, and thanks to jperkin@ for committing the fix!

| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 |     |
| Software Developer | 0786 F758 55DE 53BA 7731 |   |

Home | Main Index | Thread Index | Old Index