From owner-freebsd-ports@FreeBSD.ORG Fri Aug 5 16:53:15 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47FE31065672 for ; Fri, 5 Aug 2011 16:53:15 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id 263768FC0A for ; Fri, 5 Aug 2011 16:53:14 +0000 (UTC) Received: by pzk33 with SMTP id 33so10367794pzk.18 for ; Fri, 05 Aug 2011 09:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=J4XX9s6zmqegUTTL0/Zl0+DwuY/qi25Xi/eD5rSOkAg=; b=iCug2mGu107XIPwhJy0lIwwfvnZ+iJr31EyvjWZaNPrY7sd/0DzAM9gk0S7la2kuBx 4GHNb9HGADkcIaUp8saupNyEYb1aMpklKW8MtjS1rBZ+nDVgkCfctuEYTK6Wd6OrkNzS tlTvesBfgfVo3orjww5KdjCaP6UAw98tNXjsA= MIME-Version: 1.0 Received: by 10.142.60.16 with SMTP id i16mr2195952wfa.343.1312563194623; Fri, 05 Aug 2011 09:53:14 -0700 (PDT) Received: by 10.68.43.133 with HTTP; Fri, 5 Aug 2011 09:53:14 -0700 (PDT) Date: Fri, 5 Aug 2011 12:53:14 -0400 Message-ID: From: "b. f." To: Ewald Jenisch , freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: ghostscript8 vs. ghostscrip9 conflict during portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 16:53:15 -0000 > Seems like some ports depend on ghostscript8 whereas other depend on > ghostscript9. Unfortunately both ghostscript variants can't coexist on > the same system. To be specific: > > I've got ghostscript8 installed (ghostscript8-8.71_8) which is > required by a bunch of ports as per "pkg_info -Rx ghostscript8". When > running "pkgdb -F" it wants to install ghostscript9 since ImageMagick > depens on ghostscript9: The only ports that really need ghostscript8 will have a GHOSTSCRIPT_PORT entry pointing to print/ghostscript8 (I don't think there are any such ports at this time) -- otherwise they just happen to depend upon it because they were built with a non-default, user-defined WITH_GHOSTSCRIPT_VER value, or were built before the default ghostscript port was changed to print/ghostscript9. Problems like this are what the "-o" switches are for, in portmaster and portupgrade --read the manpage of the utility that you prefer, including the examples sections. Also, you should get in the habit of reading the recent additions to ports/UPDATING. If you are using portupgrade, you should probably do something like: portupgrade -o print/ghostscript9 print/ghostscript8 portupgrade -rfx ghostscript9 ghostscript b.