Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 1999 13:57:09 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        ports@FreeBSD.org
Subject:   bsd.port.mk: MD5_FILE overrideable or not?
Message-ID:  <38636DA5.40D3E5CC@scc.nl>

next in thread | raw e-mail | index | archive | help
[cc'd to Satoshi-san]

When working on linux_base and linux_devtools I need to create checksums
for both the i386 and the alpha packages. I can do most of the testing
on a single architecture by setting MACHINE_ARCH. I like to have
MACHINE_ARCH appended to the md5 file so that I can use `make makesum'
as well. For this I need to override MD5_FILE (see patch). Is this a
"feature" that is useful in more situations or not?

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.324
diff -u -r1.324 bsd.port.mk
--- bsd.port.mk 1999/11/11 02:36:15     1.324
+++ bsd.port.mk 1999/12/24 12:48:53
@@ -711,7 +711,7 @@
 .else
 MD5?=                  md5
 .endif
-MD5_FILE=              ${FILESDIR}/md5
+MD5_FILE?=             ${FILESDIR}/md5
 
 MAKE_FLAGS?=   -f
 MAKEFILE?=             Makefile

-- 
Marcel Moolenaar                        mailto:marcel@scc.nl
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:marcel@FreeBSD.org


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?38636DA5.40D3E5CC>