From owner-freebsd-ports Sun Aug 4 5:34:43 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 171E637B400; Sun, 4 Aug 2002 05:34:34 -0700 (PDT) Received: from postfix1-2.free.fr (postfix1-2.free.fr [213.228.0.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D0243E3B; Sun, 4 Aug 2002 05:34:33 -0700 (PDT) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (lyon-1-a7-62-147-17-103.dial.proxad.net [62.147.17.103]) by postfix1-2.free.fr (Postfix) with ESMTP id 598A4AB174; Sun, 4 Aug 2002 14:34:31 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id CD9E5750D; Sun, 4 Aug 2002 14:31:41 +0200 (CEST) Date: Sun, 4 Aug 2002 14:31:41 +0200 From: Thierry Thomas To: FreeBSD Stable , FreeBSD Ports Subject: Re: pkgtools.conf set configure parns Message-ID: <20020804123141.GA17892@graf.pompo.net> Mail-Followup-To: FreeBSD Stable , FreeBSD Ports References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.6-STABLE i386 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc;y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xC71405A2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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