Opened 18 years ago

Last modified 8 years ago

#10683 closed defect

php4 port doesn't configure correctly with postgresql81 — at Initial Version

Reported by: mitsu@… Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: php4

Description

Attempting to build the php4 port with +postgresql8 no longer works; it appears to be looking for the pgsql8 directory when it is now in postgres81. I fixed this on my local machine by modifying the portfile; a patch is provided below for the package maintainer.

--- Portfile.old 2006-09-09 14:38:17.000000000 -0400 +++ Portfile.new 2006-09-09 14:19:10.000000000 -0400 @@ -142,9 +142,9 @@

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"

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

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

Change History (0)

Note: See TracTickets for help on using tickets.