From owner-svn-ports-all@FreeBSD.ORG Wed Jun 3 15:24:00 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69835187 for ; Wed, 3 Jun 2015 15:24:00 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1853C13CC for ; Wed, 3 Jun 2015 15:23:59 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: by igbyr2 with SMTP id yr2so115617251igb.0 for ; Wed, 03 Jun 2015 08:23:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=aajnQFLZ+biGTWTRbPqDCgGKGAg0CCM4R9+emc3S/fc=; b=WEdedondGUMCJkBEhJu9PCZMZ73ABpfq6t+FUwlrmTG5gtwdm20Y0d46j6BKFd+mC7 T9IM2nuGyDBKBQqSvQL5tgUxhcAXck0QacZcuAo8Gu9tLa2wvKbfBCdtEj4UBVQ3nxs7 upGgy7r9Nk7L5nd8CpiRatGNsyXapKvobd5bqa+RRy7V0faPC/KpDNzdCBgRB5mb19j4 knVGix+Fq996vB7Lwt8oJZ/a++fDqBZENaoHBbCOrT0cYLMZmVJgiYO7KU0JY+XXK5BS 3JqbU/tjSnq/vJVc4NsM28bN1+SO0azb+yNdM5wapu6SoCC+egdeeBWejtenBjiKOEWv Ek2w== X-Gm-Message-State: ALoCoQnwn50mjaCns7cXroJuMKp1M+pSzQw6FFsJ8qWmOu/hH95VPpvI7TLx8sTUuMivfHsfkMQ4 X-Received: by 10.42.161.74 with SMTP id s10mr40673408icx.5.1433345032829; Wed, 03 Jun 2015 08:23:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.195.199 with HTTP; Wed, 3 Jun 2015 08:23:12 -0700 (PDT) X-Originating-IP: [68.101.40.130] In-Reply-To: <201506022117.t52LH1Mk057541@svn.freebsd.org> References: <201506022117.t52LH1Mk057541@svn.freebsd.org> From: "Philip M. Gollucci" Date: Wed, 3 Jun 2015 11:23:12 -0400 Message-ID: Subject: Re: svn commit: r388391 - head/Mk To: John Marino Cc: "ports-committers@freebsd.org" , "svn-ports-all@freebsd.org" , "svn-ports-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 15:24:00 -0000 You're my hero! On Tue, Jun 2, 2015 at 5:17 PM, John Marino wrote: > Author: marino > Date: Tue Jun 2 21:17:00 2015 > New Revision: 388391 > URL: https://svnweb.freebsd.org/changeset/ports/388391 > > Log: > bsd.port.mk: Implement BROKEN_${OPSYS} and BROKEN_${OPSYS}_${OSREL:R} > > Examples of use: > * BROKEN_FreeBSD= does not link > * BROKEN_DragonFly= requires later jail > * BROKEN_FreeBSD_8= long type-name is invalid > > The latter example could replace something like: > > .include > .if ${OPSYS} == FreeBSD && ${OSVERSION} <= 900000 > BROKEN= long type-name is invalid > .endif > > Differential Revision: https://reviews.freebsd.org/D2207 > Reviewed by: portmgr > Approved by: portmgr (mat) > > Modified: > head/Mk/bsd.port.mk > > Modified: head/Mk/bsd.port.mk > > ============================================================================== > --- head/Mk/bsd.port.mk Tue Jun 2 21:06:08 2015 (r388390) > +++ head/Mk/bsd.port.mk Tue Jun 2 21:17:00 2015 (r388391) > @@ -175,9 +175,16 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org > # BROKEN - Port is believed to be broken. Package builds > can > # still be attempted using TRYBROKEN to > test this > # assumption. > -# BROKEN_${ARCH} Port is believed to be broken on ${ARCH}. Package builds > -# can still be attempted using TRYBROKEN > to test this > -# assumption. > +# BROKEN_${ARCH} - Port is believed to be broken on ${ARCH}. Package > builds > +# can still be attempted using TRYBROKEN to > +# test this assumption. > +# BROKEN_${OPSYS} - Port is believed to be broken on ${OPSYS}. Package > builds > +# can still be attempted using TRYBROKEN to > +# test this assumption. > +# BROKEN_${OPSYS}_${OSREL:R} - Port is believed to be broken on a single > +# release of ${OPSYS}, e.g BROKEN_FreeBSD_8 > +# would affect all point releases of > FreeBSD 8 > +# unless TRYBROKEN is also set. > # DEPRECATED - Port is deprecated to install. Advisory only. > # EXPIRATION_DATE > # - If DEPRECATED is set, determines a date > when > @@ -2820,6 +2827,14 @@ IGNORE= is marked as broken: ${BROKEN} > .if !defined(TRYBROKEN) > IGNORE= is marked as broken on ${ARCH}: ${BROKEN_${ARCH}} > .endif > +.elif defined(BROKEN_${OPSYS}_${OSREL:R}) > +.if !defined(TRYBROKEN) > +IGNORE= is marked as broken on ${OPSYS} ${OSREL}: > ${BROKEN_${OPSYS}_${OSREL:R}} > +.endif > +.elif defined(BROKEN_${OPSYS}) > +.if !defined(TRYBROKEN) > +IGNORE= is marked as broken on ${OPSYS}: ${BROKEN_${OPSYS}} > +.endif > .elif defined(FORBIDDEN) > IGNORE= is forbidden: ${FORBIDDEN} > .endif > > -- --------------------------------------------------------------------------------- Curb: Your ride is here 4096R/D21D2752 ECDF B597 B54B 7F92 753E E0EA F699 A450 D21D 2752 Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. Director IT Operations, Curb What doesn't kill us can only make us stronger; Except it almost kills you.