pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/lua52



On 09/06/14 07:05, Blue Rats wrote:
Module Name:    pkgsrc
Committed By:   rodent
Date:           Sun Jun  8 19:05:00 UTC 2014

Modified Files:
        pkgsrc/lang/lua52: Makefile

Log Message:
Sorry, but this package doesn't work with editline, at least when
PREFER_PKGSRC is set. Buildlink devel/readline instead.

libtool: link: cc -o luac5.2 .libs/luac.o -Wl,-E  ./.libs/liblua5.2.a 
-L/usr/pkgsrc/dev/lang/lua52/work/.buildlink/lib -lm -lreadline -lhistory
ld: cannot find -lreadline
ld: cannot find -lhistory
ld: cannot find -lreadline
ld: cannot find -lhistory


The problem is that devel/editline/builtin.mk contains:

BUILDLINK_TRANSFORM+=   l:history:edit:${BUILTIN_LIBNAME.termcap}
BUILDLINK_TRANSFORM+=   l:readline:edit:${BUILTIN_LIBNAME.termcap}

These transforms are applied if the built-in library is used, but if the user uses PREFER_PKGSRC these transforms never get applied. This is inconsistent behaviour for editline, and that's really what should be fixed.




Home | Main Index | Thread Index | Old Index