Use newly introduced %%PARL_ARCH%% for dirname of architecture
dependent libraries.
(i.e. s!%%PERL_VER%%/i386-freebsd!%%PERL_VER%%/%%PERL_ARCH%%!)
Approved by: asami
-------
cc -c -I/usr/local/pgsql/include -I/usr/local/include -O -pipe -DVERSION=\"1.6.1\" -DXS_VERSION=\"1.6.1\" -DPIC -fpic -I/usr/local/lib/perl5/5.00502/i386-freebsd/CORE Pg.c
In file included from /usr/local/pgsql/include/postgres.h:40,
from Pg.xs:25:
/usr/local/pgsql/include/config.h:247: warning: `USE_LOCALE' redefined
/usr/local/lib/perl5/5.00502/i386-freebsd/CORE/perl.h:342: warning: this is the location of the previous definition
Pg.xs: In function `XS_Pg_PQexec':
Pg.xs:300: sizeof applied to an incomplete type
Pg.xs: In function `XS_PG_conn_exec':
Pg.xs:702: sizeof applied to an incomplete type
*** Error code 1
Stop.
In-Conjunction-With: Satoshi's patch to bsd.port.mk
(note: unlike the last change in perl5 versions, I have only upgraded p5-* ports, not other ports that rely upon perl5.)