From owner-freebsd-ports@FreeBSD.ORG Thu Aug 1 11:03:10 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1AD03201 for ; Thu, 1 Aug 2013 11:03:10 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D29C22A6D for ; Thu, 1 Aug 2013 11:03:09 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id d10so990320qcz.15 for ; Thu, 01 Aug 2013 04:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Cm9SvrOYwJ+xhC7LAgg3KVC6YDdP0NUZMK61iZu4JSc=; b=sCvmiQrczN6gTNslyYvgbWTh50uQkbiL0MkD0B4n1VtWmiID9NK1h9zrArkamF5vRI UjxMMkKpD1rOPaD/VlXUcngFEyOQByOxOHjibkWc3WmMcOrCt5BmokOpqPSpxfeYVhVo ozzQCTNj7Gd0FuvgPpLn2hE6af0lmdiu1VLzZYxlZiDKm4bSmn64R62VRdavAB/6q0I/ p0wXxA1NmNQHqXh+E7cHtVBvX/kgdbwOVL30kbmjeMCMn62a9ewG5dYfFzI6QvFHCFqn cIBT6kbiIMtREpSZ0bli12CBUJZwie+CbadRJVEl+4BiOD408ygkY2pKctRWGtxwN7MX Xpmg== MIME-Version: 1.0 X-Received: by 10.49.2.195 with SMTP id 3mr1247991qew.15.1375354988908; Thu, 01 Aug 2013 04:03:08 -0700 (PDT) Received: by 10.224.78.194 with HTTP; Thu, 1 Aug 2013 04:03:08 -0700 (PDT) Date: Thu, 1 Aug 2013 14:03:08 +0300 Message-ID: Subject: Idea for Mk/Uses snippet From: Kimmo Paasiala To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Thu, 01 Aug 2013 11:03:10 -0000 There are quite a few ports that require system sources to be present at /usr/src. Would it make sense to create Mk/Uses snippet (for example named as Mk/Uses/system-sources) that checks for let's say /usr/src/Makefile and throws an error if the file is not present? A port that requires the system sources to be present (for example sysutils/lsof) could then just say: USES= ... system-sources .. What do you think? -Kimmo