ports/92571: add option for localstatedir into Makefile
Jan Kuldan
jackson at kybernetes.cz
Mon Jan 30 22:50:07 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list