Opened 19 years ago

Last modified 15 years ago

#4069 closed defect

php4 +postgresql8 won't compile — at Initial Version

Reported by: mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

After syncing and trying to upgrade all, php4 wasn't rebuilt since the postgresql8 layout seemed to have changed. After reinstalling postgresql8 +server, php4's configure didn't complete. pg_config wasn't found.

I modified the postgres variant like this:

variant postgresql {

pre-configure {

file mkdir ${workpath}/pgsql8 system "cd ${workpath}/pgsql8 && \

ln -sf ${prefix}/include/pgsql8 include && \ ln -sf ${prefix}/lib/pgsql8 lib && \ ln -sf ${prefix}/lib/pgsql8/bin bin"

} depends_lib-append port:postgresql8 configure.args-append --with-pgsql=${workpath}/pgsql8/

}

Basically I added the link to bin, third ln -sf line. After this modification it works.

Change History (0)

Note: See TracTickets for help on using tickets.