From owner-freebsd-ports@FreeBSD.ORG Sat Aug 27 12:22:56 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 DC3F9106564A for ; Sat, 27 Aug 2011 12:22:56 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 99B7E8FC1B for ; Sat, 27 Aug 2011 12:22:56 +0000 (UTC) Received: by yib19 with SMTP id 19so2757823yib.13 for ; Sat, 27 Aug 2011 05:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3hwfIYcZW0YhcCM2dYNZJPH38jSVzaDgHfKQIjWFZuE=; b=qXy7V1UPeHQkUwXIywbQEH5nIf6FiWTNzUbkdI9pDBH+3D+A0MV7V6kWAIF5DcXiRa nvatiA0vfqAnPsBrorOrCF7Pr+ggXXpkuTKRD5Sdb0sI4/ptK7YbVJbmgKkDqhcigfb7 ZIvS4guQkj984WHVekIwsVJmd/80OXL3iprOg= MIME-Version: 1.0 Received: by 10.231.2.13 with SMTP id 13mr4933547ibh.59.1314447775377; Sat, 27 Aug 2011 05:22:55 -0700 (PDT) Received: by 10.231.42.4 with HTTP; Sat, 27 Aug 2011 05:22:55 -0700 (PDT) Received: by 10.231.42.4 with HTTP; Sat, 27 Aug 2011 05:22:55 -0700 (PDT) In-Reply-To: <20110827050955.12b8e369@cox.net> References: <20110827035245.7c7676a8@cox.net> <4E58B2F2.7070809@gmx.de> <20110827050955.12b8e369@cox.net> Date: Sat, 27 Aug 2011 13:22:55 +0100 Message-ID: From: Chris Rees To: "Conrad J. Sabatier" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: audio/amarok: make TRYBROKEN=yes reinstall worked! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2011 12:22:56 -0000 On 27 Aug 2011 11:10, "Conrad J. Sabatier" wrote: > > On Sat, 27 Aug 2011 11:03:46 +0200 > Matthias Andree wrote: > > > Am 27.08.2011 10:52, schrieb Conrad J. Sabatier: > > > As the subject line states, I just managed to rebuild and reinstall > > > audio/amarok with no glitches whatsoever. > > > > > > # uname -a > > > FreeBSD serene.no-ip.org 9.0-BETA1 FreeBSD 9.0-BETA1 #7: Thu Aug 25 > > > 01:47:03 CDT 2011 > > > conrads@serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64 > > > > > > So, what exactly is broken about this port? > > > > > > > Reading the actual output or the Makefile helps: > > > > .if ${RUBY_VER} == 1.9 > > BROKEN= does not build with ruby 1.9 > > .endif > > Well, yes, of course, I saw that, but the port does, in fact, build > just fine. > > > So, related questions: > > > > - is Ruby 1.9 the only Ruby version on your system? > > No, I have both 1.8 and 1.9. > > > - does your newly-built Amarok _use_ Ruby? Or did the configuration or > > build weazel out of it? > > > > - do Ruby-related features _work properly_ in your Amarok build? > > > > Then and only then we can remove this BROKEN= tag. > > # pkg_info -r amarok-1.4.10_14|grep ruby > Dependency: ruby-1.9.2.290_1,1 > > I know at least one amarok script bugs out on me (lyric-wiki). But > otherwise, functionality seems quite normal. > > Couldn't we use a USE_RUBY=1.8 knob or something, if necessary? > > I'm personally of the opinion that if a particular script won't work > with ruby 1.9, it's the script that needs fixing. YMMV. Hm, just because the ports system registered the dependency that way doesn't guarantee it was built against 1.9. To properly test, one must have only 1.9 installed. Chris