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:
|
php4
|
|
|
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)
Summary: |
php4 port doesn't configure correctly with postgresql81 →
BUG: php4-4.4.4 doesn't configure correctly with postgresql81
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Description: |
modified (diff)
|
Port: |
php4 added
|
Allow me to repost that patch using wiki formatting: