ports/163066: [patch] bsd.database.mk: Allow db5 to be selected by USE_BDB=4X+

Yuri Pankov yuri.pankov at gmail.com
Sun Dec 4 18:40:06 UTC 2011


>Number:         163066
>Category:       ports
>Synopsis:       [patch] bsd.database.mk: Allow db5 to be selected by USE_BDB=4X+
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 18:40:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Pankov
>Release:        FreeBSD 9.0-RC2 amd64
>Organization:
>Environment:
System: FreeBSD procyon.xvoid.org 9.0-RC2 FreeBSD 9.0-RC2 #0 r228164: Thu Dec 1 08:32:46 MSK 2011 yuri at procyon.xvoid.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Currently ports specifying USE_BDB=4X+ don't get db5 as a valid selection and try to install respective databases/db4X port. This could be "fixed" by using WITH_BDB_VER=5, but it would be nice to allow using the installed db port without requiring additional options.
>How-To-Repeat:
>Fix:
--- bsd.database.mk.diff begins here ---
--- ports/Mk/bsd.database.mk.orig	2011-12-04 21:49:19.000000000 +0400
+++ ports/Mk/bsd.database.mk	2011-12-04 21:52:31.000000000 +0400
@@ -258,7 +258,8 @@
 _DB_44P=	44 ${_DB_46P}
 _DB_46P=	46 ${_DB_47P}
 _DB_47P=	47 ${_DB_48P}
-_DB_48P=	48
+_DB_48P=	48 ${_DB_5P}
+_DB_5P=		5
 
 # Override the global WITH_BDB_VER with the
 # port specific <UNIQUENAME>_WITH_BDB_VER
--- bsd.database.mk.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list