From owner-freebsd-ports@FreeBSD.ORG Sun Oct 12 01:56:32 2003 Return-Path: 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 D99DF16A4B3; Sun, 12 Oct 2003 01:56:32 -0700 (PDT) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1C5F43FAF; Sun, 12 Oct 2003 01:56:31 -0700 (PDT) (envelope-from lev@FreeBSD.org) Received: from ip-219.dialup.wplus.net (ip-219.dialup.wplus.net [195.131.1.219]) (authenticated bits=0) by ftp.translate.ru (8.12.9/8.12.9) with ESMTP id h9C8sd7R085919; Sun, 12 Oct 2003 12:54:41 +0400 (MSD) (envelope-from lev@FreeBSD.org) Date: Sun, 12 Oct 2003 13:03:30 +0400 From: Lev Serebryakov X-Mailer: The Bat! (v1.62r) Personal Organization: Home X-Priority: 3 (Normal) Message-ID: <671141802.20031012130330@serebryakov.spb.ru> To: Ade Lovett In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: Ports installation, knobs, etc (Was: Ports conflicts: `lib/libiberty.a') X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lev Serebryakov List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 08:56:33 -0000 Hello, Ade! Sunday, October 12, 2003, 2:53:52 AM, you wrote: AL> On Friday, Oct 10, 2003, at 02:04 US/Pacific, Lev Serebryakov wrote: >> I don't think, it is good idea to "CONFLICTS=" all these binutils & >> gcc. May be, we need some "general" patch (like libtool's one) to >> disable installation of this library? Something like >> FIX_LIBIBERTY=yes >> In port makefile? AL> No. Please no. Oh lordy, no. The maze of options, variables, hacks, AL> and other bits and pieces needs to be reduced, not increased. It's a AL> staggeringly complex ball of wax already. It is good point. And here are many unique-for-port knobs... and not all maintainers make `pre=everything:' target to describe all these knobs... It seems, that we need some mechanism to describe such knobs automatically, like autoconf's AC_ARG_WITH or something like this. And my sweet dream: install ports to /var/... with port's (distfile's) `[g]make install' target, and then copy files to real prefix according to pkg-plist. It could solve MANY problems: automatic conflicts warning, easy skipping of unneeded files, etc... 95% of ports allows such trick without many additional work: all autroconf's and Makefile.PL ports supports installation outside of configured prefix (gmake/make INSTALL_PREFIX=... install or something like this), and many other ports with good makefiles supports such operation too... RedHat's RPM works in such way. But it have many other drawbacks, IMHO. Lev Serebryakov