Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2006 23:42:03 +0100 (CET)
From:      Jan Kuldan <jackson@kybernetes.cz>, m@kybernetes.cz
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92571: add option for localstatedir into Makefile
Message-ID:  <20060130224203.AAA5A2281F@mail.kybernetes.cz>
Resent-Message-ID: <200601302250.k0UMo3nU099786@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92571
>Category:       ports
>Synopsis:       add option for localstatedir into Makefile
>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:   Mon Jan 30 22:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jan Kuldan
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
Star Gate Command	
>Environment:
System: FreeBSD huu.kybernetes.cz 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Jan 30 09:57:35 CET 2006 root@huu.kybernetes.cz:/var/compile i386


>Description:
>How-To-Repeat:
>Fix:

--- mf.diff begins here ---
--- Makefile.old	Mon Jan 30 20:16:54 2006
+++ Makefile	Mon Jan 30 20:19:17 2006
@@ -19,9 +19,10 @@
 SLAVEDIRS=	databases/mysql50-client
 USE_AUTOTOOLS=	libtool:15
 USE_REINPLACE=	yes
+WITH_LOCALSTATEDIR?=/var/db/mysql
 
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--localstatedir=/var/db/mysql \
+CONFIGURE_ARGS=	--localstatedir=${WITH_LOCALSTATEDIR} \
			--without-debug \
			--without-readline \
 		--without-libedit \
@@ -132,6 +133,7 @@
 	@${ECHO} ""
 	@${ECHO} "You may use the following build options:"
 	@${ECHO} ""
+	@${ECHO} "	WITH_LOCALSTATEDIR=path	Define location of localstate dir (/var/db/mysql)."
 	@${ECHO} "	WITH_CHARSET=charset	Define the primary built-in charset (latin1)."
 	@${ECHO} "	WITH_XCHARSET=list	Define other built-in charsets (may be 'all')."
 	@${ECHO} "	WITH_COLLATION=collate	Define default collation (latin1_swedish_ci)."
--- mf.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?20060130224203.AAA5A2281F>