New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #10683 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

BUG: php4-4.4.4 doesn't configure correctly with postgresql81

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

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

comment:1 Changed 7 years ago by mitsu@…

Allow me to repost that patch using wiki formatting:

--- 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

comment:2 Changed 7 years ago by markd@…

  • Summary changed from php4 port doesn't configure correctly with postgresql81 to BUG: php4-4.4.4 doesn't configure correctly with postgresql81

comment:3 Changed 7 years ago by jwa@…

  • Status changed from new to closed
  • Resolution set to fixed

This change now committed, thanks.

Note: See TracTickets for help on using tickets.