From owner-freebsd-i386@FreeBSD.ORG Sat Feb 3 17:50:39 2007 Return-Path: X-Original-To: freebsd-i386@FreeBSD.org Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A036916A400; Sat, 3 Feb 2007 17:50:39 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from jim.arved.priv.at (85-126-209-253.work.xdsl-line.inode.at [85.126.209.253]) by mx1.freebsd.org (Postfix) with ESMTP id 06E4F13C4B7; Sat, 3 Feb 2007 17:50:38 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from [IPv6:2001:6f8:13fb:1:20d:93ff:fe75:d4cc] (minimac.arved.priv.at [IPv6:2001:6f8:13fb:1:20d:93ff:fe75:d4cc]) by jim.arved.priv.at (8.13.8/8.13.8) with ESMTP id l13HcB6k058062; Sat, 3 Feb 2007 18:38:18 +0100 (CET) (envelope-from arved@FreeBSD.org) In-Reply-To: <937560.2825.qm@web58212.mail.re3.yahoo.com> References: <937560.2825.qm@web58212.mail.re3.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Tilman Linneweh Date: Sat, 3 Feb 2007 18:38:04 +0100 To: Umar Draz X-Mailer: Apple Mail (2.752.2) Cc: Tilman Linneweh , freebsd-i386@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: CONFIGURE_ARGS+ X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 17:50:39 -0000 Hello Umar, This thread is more suitable on freebsd-port Mailinglist. On Feb 3, 2007, at 8:42, Umar Draz wrote: > Fewdays ago I have installed mysql50-server through ports. During > install I haved edited Makefile and add --disable-shared in > CONFIGURE_ARGS= > > Now today I updated my ports tree. and mysql50-server Makefile is > also changeed due to new version so my changing is destroy I want > to upgrade mysql50-server with portupgrade so please help me what > is the best way to add extra CONFIGURE_ARGS in /etc/make.file or / > usr/local/etc/pkgtools.conf that whenever I upgrade my mysql50- > server my configuration not destroy. > > This is the default Makefile of databases/mysql50-server > > CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ > --without-debug \ > --without-readline \ > --without-libedit \ > --without-bench \ > --without-extra-tools \ > --with-libwrap \ > --with-mysqlfs \ > --with-low-memory \ > --with-comment='FreeBSD port: ${PKGNAME}' \ > --enable-thread-safe-client > > I don't want to change these default paraments just want to add > extra CONFIGUR_ARGS --disable-shared --with-mysql-user=mysql etc. Why do want to add --disable-shared? Beware, if you change the CONFIGURE_ARGS, you are also changing the plist. If it would be useful to more people to build mysql with --disable- shared, you can write a patch to the port and submit it with send-pr. You can also try to do it in pkgtools.conf. regards tilman