Date: Mon, 17 Oct 2005 09:45:30 +0300 From: Vasil Dimov <vd@datamax.bg> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Kris Kennaway <kris@obsecurity.org> Subject: ports/87556: [patch] net/libnss-mysql cannot find mysql headers with nonstandard LOCALBASE Message-ID: <20051017064530.GA67735@qlovarnika.bg.datamax> Resent-Message-ID: <200510170650.j9H6oG2m085268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051017064530.GA67735>