Perl 6 - the future is here, just unevenly distributed

IRC log for #native, 2016-06-14

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
09:36 dakkar joined #native
09:37 dakkar hello people! I'm having a weird problem with Alien::Base
09:37 dakkar it works fine with a system-installed library
09:37 dakkar but when I say ALIEN_FORCE=1, the pkgconfig output is parsed wrong
09:38 dakkar 'Cflags: -DXMLSEC_CRYPTO' => '\\"openssl\\" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1  -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -I${prefix}/include/xmlsec1  ',
09:38 dakkar note how the key is too long
09:39 dakkar has anyone seen this before?
09:46 dakkar argh, found the problem
09:46 dakkar https://metacpan.org/source/PLICEASE/Alien-Base-0.028/lib/Alien/Base/PkgConfig.pm#L53
09:46 dakkar it gets confused when it sees a line like «Cflags: -Dfoo=bar»
10:11 dakkar https://github.com/Perl5-Alien/Alien-Base/pull/165 ← fix with test
10:42 plicease dakkar: I was just about to mention your PR here, and I see you already have :)
10:44 dakkar I hope it's useful
10:46 plicease It looks right to me, just checking.
11:05 plicease sivoais, mohawk, jberger, anyoneelse: if you have a minute please review https://github.com/Perl5-Alien/Alien-Base/pull/165

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary