Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2002 14:31:41 +0200
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: pkgtools.conf set configure parns
Message-ID:  <20020804123141.GA17892@graf.pompo.net>
In-Reply-To: <E17bKBD-000F41-00@rip.psg.com>
References:  <E17bKBD-000F41-00@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le  4 aoû 02 à  5:08:15 +0000, Randy Bush écrivait :
> i have in /usr/local/etc/pkgtools.conf
> 
>   MAKE_ARGS = {
>     'databases/mysql323-server' => '-DDB_DIR=/usr/home/whoisd -DCONFIGURE_ARGS= --datadir=/usr/home/whoisd --localstatedir=/usr/home/whoisd --without-perl --without-debug --without-readline --without-bench --with-mit-threads=no --with-libwrap --with-low-memory --program-prefix="" --with-thread-safe-client'
>   }

8<   8<   8<

> note the DATADIR is /var/db/mysql despite my hack.  and it does not
> make the threaded version, etc. etc. etc.  i.e. my hack to the top
> level make's CONFIGURE_ARGS has no effect.

Some ports accept CONFIGURE_ARGS, mysql323-server does not. Try to apply
this patch:


--- /usr/ports/databases/mysql323-server/Makefile.orig	Tue Jul  2 22:30:33 2002
+++ /usr/ports/databases/mysql323-server/Makefile	Sun Aug  4 14:21:20 2002
@@ -24,7 +24,7 @@
 DB_DIR?=	/var/db/mysql
 USE_PERL5=	yes
 USE_LIBTOOL=	yes
-CONFIGURE_ARGS=	--localstatedir=${DB_DIR} \
+CONFIGURE_ARGS+=	--localstatedir=${DB_DIR} \
 		--without-perl \
 		--without-debug \
 		--without-readline \


Remark: if you assign a value, you do not need a -D, just write
something like "CONFIGURE_ARGS= --datadir=/usr/home/whoisd".
-- 
Th. Thomas.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020804123141.GA17892>