Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 1999 08:20:24 +0200 (CEST)
From:      Martin Kammerhofer <dada@balu.kfunigraz.ac.at>
To:        Davec <davec@unforgettable.com>
Cc:        ports@freebsd.org
Subject:   FreeBSD port devel/codecrusader
Message-ID:  <Pine.BSF.3.96.990809080148.21584A-100000@localhost.kfunigraz.ac.at>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
-.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990809080148.21584A-100000>