Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290015 Details for
Bug 378865
dev-db/postgresql-server-9.0.4-r2[perl] fails to build because of mismatch of ExtUtils::ParseXS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Implements proper path detection
xsubpp.patch (text/plain), 2.50 KB, created by
Aaron W. Swenson
on 2011-10-17 01:01:27 UTC
(
hide
)
Description:
Implements proper path detection
Filename:
MIME Type:
Creator:
Aaron W. Swenson
Created:
2011-10-17 01:01:27 UTC
Size:
2.50 KB
patch
obsolete
>diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile >index aa44827..32e9256 100644 >--- a/src/pl/plperl/GNUmakefile >+++ b/src/pl/plperl/GNUmakefile >@@ -55,6 +55,9 @@ endif > # where to find psql for running the tests > PSQLDIR = $(bindir) > >+# where to find xsubpp for building XS. >+XSUBPPDIR = $(shell $(PERL) -MConfig -e 'use List::Util qw(first); print first { -x "$$_/xsubpp" } @Config{qw(installsitebin installvendorbin installbin)}') >+ > include $(top_srcdir)/src/Makefile.shlib > > plperl.o: perlchunks.h plperl_opmask.h >@@ -70,12 +73,12 @@ perlchunks.h: $(PERLCHUNKS) > all: all-lib > > SPI.c: SPI.xs >- @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi >- $(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ >+ @if [ x"$(XSUBPPDIR)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi >+ $(PERL) $(XSUBPPDIR)/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ > > Util.c: Util.xs >- @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi >- $(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ >+ @if [ x"$(XSUBPPDIR)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi >+ $(PERL) $(XSUBPPDIR)/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ > > > install: all install-lib install-data >diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm >index 3d71c88..bfe9990 100644 >--- a/src/tools/msvc/Mkvcbuild.pm >+++ b/src/tools/msvc/Mkvcbuild.pm >@@ -13,6 +13,8 @@ use Project; > use Solution; > use Cwd; > use File::Copy; >+use Config; >+use List::Util qw(first); > > use Exporter; > our (@ISA, @EXPORT_OK); >@@ -106,11 +108,13 @@ sub mkvcbuild > (my $xsc = $xs) =~ s/\.xs/.c/; > if (Solution::IsNewer("$plperlsrc$xsc","$plperlsrc$xs")) > { >+ my $xsubppdir = first { -e "$_\\xsubpp.BAT" } >+ @Config{qw(installsitebin installvendorbin installbin)}; > print "Building $plperlsrc$xsc...\n"; > system( $solution->{options}->{perl} > . '/bin/perl ' > . $solution->{options}->{perl} >- . '/lib/ExtUtils/xsubpp -typemap ' >+ . "$xsubppdir/xsubpp -typemap " > . $solution->{options}->{perl} > . '/lib/ExtUtils/typemap ' > . "$plperlsrc$xs "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 378865
:
284419
| 290015