[MacPorts] #10683: BUG: php4-4.4.4 doesn't configure correctly with postgresql81
MacPorts
noreply at macports.org
Thu Mar 24 07:35:04 PDT 2016
#10683: BUG: php4-4.4.4 doesn't configure correctly with postgresql81
----------------------+---------------------
Reporter: mitsu@… | Owner: yeled@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: php4 |
----------------------+---------------------
Changes (by ryandesign@…):
* port: => php4
Old 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
New 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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/10683#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list