From owner-freebsd-questions@FreeBSD.ORG Mon Oct 23 16:24:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AE7416A4C9 for ; Mon, 23 Oct 2006 16:24:27 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6877443D8C for ; Mon, 23 Oct 2006 16:23:43 +0000 (GMT) (envelope-from josh.carroll@gmail.com) Received: by ug-out-1314.google.com with SMTP id k3so769378ugf for ; Mon, 23 Oct 2006 09:23:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=LHQD7DXXTuo1ZK71uSupekO9hw80yg/Cbeul+KT9krY4jEyZSHmE1090s4Twa024SPUSlNspCUe1oH/RefLT8W7KCnBK+7ehqHm0Il51O14zIm1pTXri+neCC+gJNerSDZGBBLL2ENClrV0sEygmxewAmADuVC3HCiEV8v4PAMs= Received: by 10.82.126.19 with SMTP id y19mr1465119buc; Mon, 23 Oct 2006 09:23:42 -0700 (PDT) Received: by 10.82.163.16 with HTTP; Mon, 23 Oct 2006 09:23:41 -0700 (PDT) Message-ID: <8cb6106e0610230923o73c5f2f6p8c1d79568d243fbe@mail.gmail.com> Date: Mon, 23 Oct 2006 09:23:41 -0700 From: "Josh Carroll" Sender: josh.carroll@gmail.com To: FreeBSD In-Reply-To: <200610231106.10504.lane@joeandlane.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200610231106.10504.lane@joeandlane.com> X-Google-Sender-Auth: 20e6ac25bd4784bf Cc: Lane Subject: Re: HOWTO: run portupgrade with original options for perl5.8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 16:24:27 -0000 For ports without "make config" you can edit /usr/local/etc/pkgtools.conf and edit MAKE_ARGS, something like: MAKE_ARGS = { 'lang/perl5.8' => 'ENABLE_SUIDPERL=yes', } Of course, this only affects portupgrade/portinstall/etc. If you want it to work for manual building of the port with make in the port dir, you can alternatively edit /etc/make.conf and add something like: .if ${.CURDIR:M*/lang/perl5.8} ENABLE_SUIDPERL=yes .endif Thanks, Josh On 10/23/06, Lane wrote: > Hello, > > I run openwebmail which wants perl compiled -DENABLE_SUIDPERL > > However, when I portupgrade perl, this option is apparently not reused, and > openwebmail fails until I recompile perl. > > I note that there is no entry for perl in /var/db/ports (i.e. no "options" are > recorded). > > I also note that the /options that are present for other ports contain the > header: > > # This file is auto-generated by 'make config'. > # No user-servicable parts inside! > > and when I run make config from /usr/ports/lang/perl5.8 I get > > ===> No options to configure > > So the question is: How do I get portupgrade to remember the options I used > when I compiled perl? > > Thanks! > > lane > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >