Opened 18 years ago

Closed 18 years ago

Last modified 8 years ago

#10683 closed defect (fixed)

BUG: php4-4.4.4 doesn't configure correctly with postgresql81 — at Version 4

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (4)

comment:1 Changed 18 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 18 years ago by markd@…

Summary: php4 port doesn't configure correctly with postgresql81BUG: php4-4.4.4 doesn't configure correctly with postgresql81

comment:3 Changed 18 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

This change now committed, thanks.

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: php4 added
Note: See TracTickets for help on using tickets.