From owner-freebsd-ports@FreeBSD.ORG Tue Jul 16 16:41:07 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CBF0E80 for ; Tue, 16 Jul 2013 16:41:07 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) by mx1.freebsd.org (Postfix) with ESMTP id 58A202AB for ; Tue, 16 Jul 2013 16:41:07 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id z5so767517lbh.21 for ; Tue, 16 Jul 2013 09:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4EF/5e9IlmL3VTaQyoN6M++gT1PQsvzReV3nU9hZAuU=; b=C5tUuLcW3QJZ9tmdASJFJqADGgaK58eYxp8tNm0x1yfDYTJ171+6CrKIk8ZSWp9JNd pzOI7bSj7oDbwFk516QzzHAFIkQDUTiltG3p9FBk4gbAsluuJ3SwttArixBEhZv01dWQ boBtKpYRPakxaL9FH7lUQkVqPHouMYTBcDYNWxVtmplfhhqfNi+9CmvQNO6hkV7y2Ist jhbC1tBhFmLS/NjzEhHyh4uRSTH1umqXAGhl4lIHR7hkmhUHGEfpe8EjHTb+FevkcvTe EJZ6sXuk0M7vzDfSPoMr9nEVfjP/10O49t+zp3QuBvjkCJ+BuUlshvktfAKWlQRk9Ybi mjfA== MIME-Version: 1.0 X-Received: by 10.112.167.100 with SMTP id zn4mr1466312lbb.44.1373992865190; Tue, 16 Jul 2013 09:41:05 -0700 (PDT) Received: by 10.112.140.231 with HTTP; Tue, 16 Jul 2013 09:41:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Jul 2013 18:41:05 +0200 Message-ID: Subject: Re: name of a port that builds on 10-CURRENT but not 9? From: Daniel Nebdal To: Kevin Oberman Content-Type: text/plain; charset=ISO-8859-1 Cc: Aryeh Friedman , FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 16:41:07 -0000 On Sat, Jul 13, 2013 at 11:45 PM, Kevin Oberman wrote: > On Sat, Jul 13, 2013 at 2:15 PM, Aryeh Friedman wrote: > >> I am making a port and need to see a good working example of how to >> make it so it will not compile on less then 10-CURRENT >> > > What exactly do you mean by 10-CURRENT? Head today, head this year, head > since 9 was branched? In any case, check OSVERSION. A great many ports may > be looked at for examples. E.g. graphics/blender. See the FreeBSD Porter's > Handbook 12.6. There is a list of every OSVERSION bump, but I can't > remember exactly where it is, but to check for 10, check if OSVERSION >>1000000. It's in the handbook as well: http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html -- Daniel Nebdal