ports/64802: [lang/php4] Fix LIB_DEPENDS on Berkeley DB 4.2
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Sat Mar 27 13:20:08 UTC 2004
>Number: 64802
>Category: ports
>Synopsis: [lang/php4] Fix LIB_DEPENDS on Berkeley DB 4.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 27 05:20:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Mar 23 18:25:35 CST 2004 sunpoet at IRIS.sunpoet.net:/usr/src/sys/i386/compile/sunpoet i386
>Description:
Building php4 with Berkeley DB 4.2, it add LIB_DEPENDS db4.2.2 but databases/db42 installed shared object at /usr/local/lib/libdb-4.2.so.2. (dash is missing)
% ls -la /usr/local/lib/libdb-4.2.so.2
lrwxr-xr-x 1 root wheel 19 Mar 27 18:55 /usr/local/lib/libdb-4.2.so.2@ -> db42/libdb-4.2.so.2
>How-To-Repeat:
% cd /usr/ports/lang/php4
% make WITH_DB4_VER=42
>Fix:
% cd /usr/ports/lang/php4
% diff -u Makefile.orig Makefile
--- Makefile.orig Sat Mar 27 00:44:25 2004
+++ Makefile Sat Mar 27 21:04:19 2004
@@ -250,7 +250,7 @@
.if defined(WITH_DB4)
WITH_DB4_VER?= 41
.if ${WITH_DB4_VER} == 42
-LIB_DEPENDS+= db4.2.2:${PORTSDIR}/databases/db42
+LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42
.else
.if ${WITH_DB4_VER} == 4
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list