From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 21 04:50:05 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E59D016A420 for ; Wed, 21 Dec 2005 04:50:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C715443D5A for ; Wed, 21 Dec 2005 04:50:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBL4o4rj064255 for ; Wed, 21 Dec 2005 04:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBL4o4AM064250; Wed, 21 Dec 2005 04:50:04 GMT (envelope-from gnats) Resent-Date: Wed, 21 Dec 2005 04:50:04 GMT Resent-Message-Id: <200512210450.jBL4o4AM064250@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2901816A41F; Wed, 21 Dec 2005 04:44:37 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from msr28.hinet.net (msr28.hinet.net [168.95.4.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B10D43D45; Wed, 21 Dec 2005 04:44:35 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from utopia.leeym.com (arcadia.leeym.com [211.21.137.53]) by msr28.hinet.net (8.9.3/8.9.3) with ESMTP id MAA08456; Wed, 21 Dec 2005 12:44:33 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 77560B29D00; Wed, 21 Dec 2005 12:44:33 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52903-06; Wed, 21 Dec 2005 12:44:27 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id E5CC3B29CE7; Wed, 21 Dec 2005 12:44:27 +0800 (CST) Message-Id: <20051221044427.E5CC3B29CE7@utopia.leeym.com> Date: Wed, 21 Dec 2005 12:44:27 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: vsevolod@FreeBSD.org, matthias.andree@gmx.de Subject: ports/90729: databases/db[0-9]*: check USE_BDB knob X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yen-Ming Lee List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 04:50:06 -0000 >Number: 90729 >Category: ports >Synopsis: databases/db[0-9]*: check USE_BDB knob >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 21 04:50:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Nov 17 09:15:19 CST 2005 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: - check USE_BDB in databases/db[0-9]* without checking USE_BDB, it will become a infinite loop for package dependency - the same problem for databases/postgresql[0-9]*, and I'll submit another PR later. (Cc-ed to the maintainers of databases/db* and bsd.database.mk) >How-To-Repeat: # cd /usr/ports && make clean USE_BDB=blah (yes, it causes the loop in any port for any value) >Fix: --- db.diff begins here --- Index: db2/Makefile =================================================================== RCS file: /home/pcvs/ports/databases/db2/Makefile,v retrieving revision 1.37 diff -u -r1.37 Makefile --- db2/Makefile 5 May 2004 19:43:50 -0000 1.37 +++ db2/Makefile 21 Dec 2005 04:28:01 -0000 @@ -18,6 +18,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +.ifdef USE_BDB +.error You have `USE_BDB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../dist/configure Index: db3/Makefile =================================================================== RCS file: /home/pcvs/ports/databases/db3/Makefile,v retrieving revision 1.61 diff -u -r1.61 Makefile --- db3/Makefile 15 Nov 2005 06:48:16 -0000 1.61 +++ db3/Makefile 21 Dec 2005 04:28:01 -0000 @@ -23,6 +23,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +.ifdef USE_BDB +.error You have `USE_BDB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:13 Index: db4/Makefile =================================================================== RCS file: /home/pcvs/ports/databases/db4/Makefile,v retrieving revision 1.55 diff -u -r1.55 Makefile --- db4/Makefile 12 Apr 2005 03:25:00 -0000 1.55 +++ db4/Makefile 21 Dec 2005 04:28:01 -0000 @@ -19,6 +19,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +.ifdef USE_BDB +.error You have `USE_BDB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../dist/configure Index: db41/Makefile =================================================================== RCS file: /home/pcvs/ports/databases/db41/Makefile,v retrieving revision 1.59 diff -u -r1.59 Makefile --- db41/Makefile 13 Apr 2005 07:14:36 -0000 1.59 +++ db41/Makefile 21 Dec 2005 04:28:01 -0000 @@ -23,6 +23,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +.ifdef USE_BDB +.error You have `USE_BDB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../dist/configure Index: db42/Makefile.db =================================================================== RCS file: /home/pcvs/ports/databases/db42/Makefile.db,v retrieving revision 1.8 diff -u -r1.8 Makefile.db --- db42/Makefile.db 15 Nov 2005 06:48:16 -0000 1.8 +++ db42/Makefile.db 21 Dec 2005 04:28:01 -0000 @@ -7,6 +7,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +.ifdef USE_BDB +.error You have `USE_BDB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:15 Index: db43/Makefile =================================================================== RCS file: /home/pcvs/ports/databases/db43/Makefile,v retrieving revision 1.71 diff -u -r1.71 Makefile --- db43/Makefile 15 Nov 2005 06:48:16 -0000 1.71 +++ db43/Makefile 21 Dec 2005 04:28:01 -0000 @@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +.ifdef USE_BDB +.error You have `USE_BDB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:15 Index: db44/Makefile =================================================================== RCS file: /home/pcvs/ports/databases/db44/Makefile,v retrieving revision 1.72 diff -u -r1.72 Makefile --- db44/Makefile 25 Nov 2005 20:45:27 -0000 1.72 +++ db44/Makefile 21 Dec 2005 04:28:01 -0000 @@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +.ifdef USE_BDB +.error You have `USE_BDB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:15 --- db.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: