From owner-freebsd-questions@FreeBSD.ORG  Mon Jul 14 10:01:53 2003
Return-Path: <owner-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 AB80737B401
	for <freebsd-questions@freebsd.org>;
	Mon, 14 Jul 2003 10:01:53 -0700 (PDT)
Received: from server.sirtis.org.uk (dsl-217-155-170-59.zen.co.uk
	[217.155.170.59])
	by mx1.FreeBSD.org (Postfix) with SMTP id 8D4C443FAF
	for <freebsd-questions@freebsd.org>;
	Mon, 14 Jul 2003 10:01:51 -0700 (PDT)
	(envelope-from jonathan@sirtis.org.uk)
Received: (qmail 75400 invoked by uid 1006); 14 Jul 2003 17:01:49 -0000
Received: from jonathan@sirtis.org.uk by server.sirtis.org.uk by uid 1011 with
	qmail-scanner-1.15 spamassassin: 2.43.  Clear:SA:0(-2.1/5.0):. 
	Processed in 2.874324 secs); 14 Jul 2003 17:01:49 -0000
X-Spam-Status: No, hits=-2.1 required=5.0
Received: from unknown (HELO sirtis.org.uk)
	(webmail%sirtis.org.uk@217.155.170.58)
	by 0 with SMTP; 14 Jul 2003 17:01:46 -0000
Message-ID: <3F12E1FE.5070101@sirtis.org.uk>
Date: Mon, 14 Jul 2003 18:01:50 +0100
From: Jonathan <jonathan@sirtis.org.uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.3) Gecko/20030312
X-Accept-Language: rs1_9c98b83100d, rs2_0492abec4e2, rs3_cd142b81ab
MIME-Version: 1.0
To: Kirk Strauser <kirk@strauser.com>
References: <87k7aljbvb.fsf@pooh.honeypot.net>
In-Reply-To: <87k7aljbvb.fsf@pooh.honeypot.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: freebsd-questions@freebsd.org
Subject: Re: Use linux_base-debian instead of linux_base?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2003 17:01:54 -0000

Kirk Strauser wrote:
> I have linux_base-debian installed and working well.  However, some ports
> (namely linux-ibm-jdk14 via the USE_LINUX Makefile entry) want to install
> linux_base alongside it.  Can I configure my system to use linux_base-debian
> for ports that want to install linux_base?

Take a look at portupgrade (/usr/ports/sysutils/portupgrade) which has 
portinstall, which you can use instead of cd /usr/ports/blah/blah && make

Then you can configure in /usr/local/etc/pkgtools.conf using ALT_PKGDEP. 
The sample in the config says:

   #   ALT_PKGDEP = {
   #     # If you use apache13-modssl instead of apache13
   #     'apache-1.3.*' => 'apache+mod_ssl-1.3.*',


HTH,

Jonathan