From owner-freebsd-apache@FreeBSD.ORG Sun Aug 19 19:12:56 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74585106564A for ; Sun, 19 Aug 2012 19:12:56 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id DA85A8FC12 for ; Sun, 19 Aug 2012 19:12:55 +0000 (UTC) Received: (qmail invoked by alias); 19 Aug 2012 19:12:54 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp012) with SMTP; 19 Aug 2012 21:12:54 +0200 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX1/OK9I5jVLOKwgmgjAkoJjbWqJA8AQMeWhF5u8JDI LXsDSvea8SDXoA Message-ID: <50313ABF.2060500@gmx.de> Date: Sun, 19 Aug 2012 21:13:03 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "apache@FreeBSD.org" X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: "Philip M. Gollucci" Subject: apache22 port rewrite fundings X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2012 19:12:56 -0000 During the rewrite of apache22 I notice the code block below in Makefile.modules is complete irrelevant. The block is a leftover to configure the bundled apr/apr-util which we do not use, indeed the configure args are just ignored for httpd. This is relevant for the following (closed) PRs: ports/83644 ports/130479 ports/110651 ports/159608 During the configure stage the file build/config_vars.mk is constructed with the help of apr-1-config and apu-1-config. This file includes all build params from apr/apr-util. I spend some time to figure out PR ports/159608 which is not httpd but apu related and I haven't found a working solution to reimplement the apr1 autoconfigure scripts to use libc instead libdb-xx. $> ./configure --help | grep -i db --enable-authn-dbm DBM-based authentication control --enable-authn-dbd SQL-based authentication control --enable-authz-dbm DBM-based authorization control --enable-dbd Apache DBD Framework --enable-static-htdbm Build a statically linked version of htdbm --enable-static-httxt2dbm Build a statically linked version of httxt2dbm $> grep BDB pkg-plist => no output # XXX leftover from bundled apr/apr-util .if !defined(WITH_DBM) . if defined(WITH_BDB) || defined(WITH_BDB_BASE) || defined(WITH_BERKELEYDB) WITH_DBM= bdb PLIST_SUB+= BDB="" . else PLIST_SUB+= BDB="@comment " . endif .endif .if defined(WITH_BERKELEYDB) && !defined(WITH_BDB_VER) . if ${WITH_BERKELEYDB} == "FreeBSD" WITH_BDB_BASE= yes . else WITH_BDB_VER= ${WITH_BERKELEYDB:S/db//} . endif .endif .if defined(WITH_DBM) . if ${WITH_DBM:L} == "sdbm" CONFIGURE_ARGS+= --with-dbm=sdbm . elif ${WITH_DBM:L} == "gdbm" LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE} . elif ${WITH_DBM:L} == "db" || ${WITH_DBM:L} == "bdb" . if defined(WITH_BDB_BASE) CONFIGURE_ARGS+= --with-dbm=db185 \ --with-berkeley-db=/usr . else USE_BDB= yes CONFIGURE_ARGS+= --with-dbm=db${BDB_VER:S/40/4/} \ --with-berkeley-db=${LOCALBASE} . endif . else IGNORE= "Unknown DBM" . endif .else CONFIGURE_ARGS+= --with-dbm=sdbm .endif