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
On October 12 this port was marked BROKEN_ELF by jsegar because it
depended on the then BROKEN_ELF databases/mysql321. mysql321 was
unBROKEN_ELF'd by jsegar 4 days later, but this port remained BROKEN_ELF
until now.
-------
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.
-------
:
cc -c -I/usr/local/pgsql/include -I/usr/local/include/pgsql -I/usr/include/pgsql -I/usr/local/lib/perl5/5.00502/i386-freebsd/DBI -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI -I/usr/local/include -O -pipe -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -DPIC -fpic -I/usr/local/lib/perl5/5.00502/i386-freebsd/CORE dbdimp.c
dbdimp.c: In function `dbd_db_ping':
dbdimp.c:135: dereferencing pointer to incomplete type
dbdimp.c:136: dereferencing pointer to incomplete type
dbdimp.c:140: dereferencing pointer to incomplete type
dbdimp.c:140: dereferencing pointer to incomplete type
dbdimp.c:141: dereferencing pointer to incomplete type
dbdimp.c:142: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:147: dereferencing pointer to incomplete type
dbdimp.c:148: dereferencing pointer to incomplete type
*** Error code 1
Stop.
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.
(This is not by any means the complete list but just the ones I've noticed
recently.)