From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 17 06:50:20 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 7C08B16A423 for ; Mon, 17 Oct 2005 06:50:20 +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 E499843D70 for ; Mon, 17 Oct 2005 06:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9H6oGgd085269 for ; Mon, 17 Oct 2005 06:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9H6oG2m085268; Mon, 17 Oct 2005 06:50:16 GMT (envelope-from gnats) Resent-Date: Mon, 17 Oct 2005 06:50:16 GMT Resent-Message-Id: <200510170650.j9H6oG2m085268@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, vd@datamax.bg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B0F316A420 for ; Mon, 17 Oct 2005 06:45:51 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18F1143D49 for ; Mon, 17 Oct 2005 06:45:49 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id D4F4EB826; Mon, 17 Oct 2005 09:46:05 +0300 (EEST) Received: (nullmailer pid 72452 invoked by uid 1002); Mon, 17 Oct 2005 06:45:30 -0000 Message-Id: <20051017064530.GA67735@qlovarnika.bg.datamax> Date: Mon, 17 Oct 2005 09:45:30 +0300 From: Vasil Dimov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Kris Kennaway Subject: ports/87556: [patch] net/libnss-mysql cannot find mysql headers with nonstandard LOCALBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 06:50:20 -0000 >Number: 87556 >Category: ports >Synopsis: [patch] net/libnss-mysql cannot find mysql headers with nonstandard LOCALBASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Oct 17 06:50:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 6.0-RC1 amd64 >Organization: DataMax >Environment: >Description: It seems that libnss-mysql dropped --with-mysql-lib and --with-mysql-inc in a favour of --with-mysql some time ago. configure has default search paths for mysql stuff: /usr /usr/local /usr/local/mysql /opt/local /opt/local/mysql and that is why it finds the mysql headers when --with-mysql is not specified and mysql client is installed in /usr/local. Reported by Kris. >How-To-Repeat: >Fix: --- libnss-mysql_localbase.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/libnss-mysql/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 10 Sep 2005 21:50:09 -0000 1.11 +++ Makefile 17 Oct 2005 06:32:50 -0000 @@ -7,6 +7,7 @@ PORTNAME= libnss-mysql PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= libnss-mysql @@ -16,8 +17,7 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-mysql-lib=${LOCALBASE}/lib/mysql \ - --with-mysql-inc=${LOCALBASE}/include/mysql +CONFIGURE_ARGS= --with-mysql=${LOCALBASE} INSTALLS_SHLIB= yes USE_LIBTOOL_VER=15 USE_MYSQL= yes --- libnss-mysql_localbase.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: