From owner-freebsd-ports Sat Jun 1 19:06:28 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA24388 for ports-outgoing; Sat, 1 Jun 1996 19:06:28 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA24369 for ; Sat, 1 Jun 1996 19:05:50 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.5/8.6.9) id TAA25029; Sat, 1 Jun 1996 19:05:32 -0700 (PDT) Date: Sat, 1 Jun 1996 19:05:32 -0700 (PDT) Message-Id: <199606020205.TAA25029@silvia.HIP.Berkeley.EDU> To: chuckr@Glue.umd.edu CC: jkh@time.cdrom.com, ports@freebsd.org In-reply-to: (message from Chuck Robey on Sat, 1 Jun 1996 11:29:13 -0400 (EDT)) Subject: Re: Request for feedback: REQUIRES_OS_VERSION feature. From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * I like this, but I wish that the OS_VERSION could be gotten from uname * -r, instead of something set by bsd.port.mk. I wanted that too, but there is no way to make make define a new variable or a new target based on the output from a command. The problem is that we don't want to "exit 1" (that will be easy), we just want to skip all the targets. And to skip the targets, we can define empty targets, but that can't be done based on an output of a command.... * Mine shows "2.2-CURRENT", * do you know what comes out of other versions, like maybe 2.1 release, * or 2.0.5 ? Actually, I think the 5-digit number scheme is more flexible, as we can even distinguish between different versions of -current if we really want. :) Satoshi