From owner-freebsd-ports Sun Aug 25 8:38:26 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03B1537B400 for ; Sun, 25 Aug 2002 08:38:25 -0700 (PDT) Received: from bilbo.in.mat.cc (bilbo.in.mat.cc [212.43.217.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6366A43E3B for ; Sun, 25 Aug 2002 08:38:24 -0700 (PDT) (envelope-from mat@mat.cc) Received: from sauron (sauron.in.mat.cc [212.43.217.122]) by bilbo.in.mat.cc (Postfix) with ESMTP id 7431E71184 for ; Sun, 25 Aug 2002 17:38:22 +0200 (CEST) Date: Sun, 25 Aug 2002 17:38:22 +0200 From: Mathieu Arnold To: FreeBSD-ports@FreeBSD.org Subject: patching and OSVERSION Message-ID: <12031515.1030297102@sauron> X-Mailer: Mulberry/3.0.0b1 (Win32) X-wazaaa: True, true MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi I was looking at a port which requires different patches, say : use patch-1 whatever the version is .if ${OSVERSION} >= 460000 also use patch-2 .endif and after looking at the porter's handbook, I could not find out how to do it (the patches are in the files subdirectory). -- Mathieu Arnold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message