From owner-freebsd-ports@FreeBSD.ORG Sat Jul 13 21:45:47 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5DFE87BD for ; Sat, 13 Jul 2013 21:45:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id 2AF67110F for ; Sat, 13 Jul 2013 21:45:47 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id k14so14082043oag.26 for ; Sat, 13 Jul 2013 14:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=LxzeYT9/tTLVH8Uz/JYY4v1Cv/epEjReXyBlFt57MU0=; b=aZPTfE+jzWfaP3CRRJkBsdLrh5WKltUem5tgC5P+v5WtMxmf1JXmcrUkxiqdgb1owi C1Ast8bfB0C2HnGbL8yHO0zCt1Y3wkRprJsiDJUdd9xI1hZ7zaghbY8SNRtQbW9j5tO2 sC43HFeDKajMWMFiLEjfjbP+s+HprqNpNQqHmWNvLMMAbXCfGOYgpP9+o6XCW6L/aX3K 7QPizN8lEEu7RjgKS9+NAp3tJI6K8uxQn9AYlZpl899orhl9setDCftSFn7PW0qKfyOj tiuV2ZJ7Z8eCxKvkO0XwXNLW4sud8MI0Jyao2t/LtwBCxzOcDQVv/SWSnfz3ETvjbFPy FLdA== MIME-Version: 1.0 X-Received: by 10.60.43.138 with SMTP id w10mr39831921oel.23.1373751946741; Sat, 13 Jul 2013 14:45:46 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.112.212 with HTTP; Sat, 13 Jul 2013 14:45:46 -0700 (PDT) In-Reply-To: References: Date: Sat, 13 Jul 2013 14:45:46 -0700 X-Google-Sender-Auth: qUWtQCOkmKJL2gjfNQEORAY1R_k Message-ID: Subject: Re: name of a port that builds on 10-CURRENT but not 9? From: Kevin Oberman To: Aryeh Friedman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: 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: Sat, 13 Jul 2013 21:45:47 -0000 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. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com