|
|||||||||||
|
Differences between OpenBSD and FreeBSD -V option in make
From: Daxbert <daxbert_news(at)dweebsoft.com>
Date: Sat Mar 01 2003 - 01:13:14 EST
FreeBSD-make recursively evaluates the variable(s) provided, while OpenBSD-make does not. This variable expansion is a feature I need for the portupgrade utility. Example Makefile...
DISTNAME= Atlas-C++-${VERSION}
PKGNAME= ${DISTNAME:S/C++-//:L}
# make -V PKGNAME
FreeBSD-make returns 'atlas-0.4.3.1'
I've created a patch for make which mimics the FreeBSD expansion with the same option (-X) to disable expansion. Is this feature currently missing because it *should* be missing? The patch may be found at either of the two following links. As I'm new to this, comments would be greatly appreciated. http://ra.dweebsoft.com/make.patch (raw - no html) or http://ra.dweebsoft.com/make.patch.html --daxbert Received on Sat Mar 1 01:18:08 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:30 EDT |
||||||||||
|
|||||||||||