From owner-freebsd-ports Mon Aug 9 3:22:31 1999 Delivered-To: freebsd-ports@freebsd.org Received: from kaa.kfunigraz.ac.at (KAA16.kfunigraz.ac.at [143.50.16.17]) by hub.freebsd.org (Postfix) with ESMTP id 888B214E70 for ; Mon, 9 Aug 1999 03:22:18 -0700 (PDT) (envelope-from dada@balu.kfunigraz.ac.at) Received: from balu.kfunigraz.ac.at (balu [143.50.16.16]) by kaa.kfunigraz.ac.at (8.9.2/8.9.2) with ESMTP id MAA23451; Mon, 9 Aug 1999 12:19:01 +0200 (MDT) Received: from localhost.kfunigraz.ac.at (IDENT:YzSqc3rLW3rZjJVMLie4n3jJJ8Rp6+uC@BONLINEB80.kfunigraz.ac.at [143.50.33.80]) by balu.kfunigraz.ac.at (8.9.2/8.9.2) with ESMTP id MAA19929; Mon, 9 Aug 1999 12:21:04 +0200 (MDT) Received: from localhost (NHHuXqyE2NLXe6+VsYxZ7o0mn+g79KZy@localhost.kfunigraz.ac.at [127.0.0.1]) by localhost.kfunigraz.ac.at (8.8.8/x.y.z) with SMTP id IAA02847; Mon, 9 Aug 1999 08:20:26 +0200 (CEST) (envelope-from dada@localhost.kfunigraz.ac.at) Date: Mon, 9 Aug 1999 08:20:24 +0200 (CEST) From: Martin Kammerhofer Reply-To: Martin Kammerhofer To: Davec Cc: ports@freebsd.org Subject: FreeBSD port devel/codecrusader Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Dave! When you are reworking your codecrusader port (it is marked broken right now because it 'installs files during build') please also apply the following tiny patch: --- Makefile~ Mon Aug 9 07:48:06 1999 +++ Makefile Mon Aug 9 07:55:02 1999 @@ -59,7 +59,7 @@ .endif .include -.if ${OSREL} >= 3 +.if ${OSVERSION} >= 300000 ALL_TARGET= freebsd3.x LIBACE= 4 LIBJTOOL= 0 On FreeBSD releases where OSREL has 2 minor numbers (e.g. FreeBSD 2.2.x) this causes make to abort with a syntax error. "Makefile", line 62: warning: String comparison operator should be either == or != "Makefile", line 62: Malformed conditional (${OSREL} >= 3) "Makefile", line 62: Need an operator make: fatal errors encountered -- cannot continue Using ${OSVERSION} instead of ${OSREL} is safe because ${OSVERSION} is always guaranteed to be _numeric_ and therefore makes no troubles in ``.if'' comparisons. Thanks in advance, Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message