[ru@FreeBSD.org: [patch] mixed i386/amd64 ports semi-broken]
Ruslan Ermilov
ru at FreeBSD.org
Sun Jan 29 10:56:49 PST 2006
Timed out waiting for response, resending to ports at ...
----- Forwarded message from Ruslan Ermilov <ru at FreeBSD.org> -----
Date: Wed, 14 Dec 2005 20:09:54 +0200
From: Ruslan Ermilov <ru at FreeBSD.org>
To: Kirill Ponomarew <krion at FreeBSD.org>, Kris Kennaway <kris at FreeBSD.org>
Cc: amd64 at FreeBSD.org
Subject: [patch] mixed i386/amd64 ports semi-broken
User-Agent: Mutt/1.5.9i
Hi there,
I hit this problem attempting to install print/acroread7 on amd64.
It depends on emulators/linux_base-8, which rewrites ${ARCH} from
"amd64" to "i386". Unfortunately, when linux_base-8 is processed
in a submake, e.g., when I run "make fetch-recursive" in
print/acroread7, no rewrite of ${ARCH} actually happens because
bsd.port.mk mistakenly thinks that ${ARCH} can never change, so
it's getting passed ARCH already set to "amd64", and as a highest
priority command-line type make(1) variable. This results in
${MD5_FILE} improperly set to distinfo.amd64 which doesn't exist.
Here's a fix:
%%%
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.518
diff -u -p -r1.518 bsd.port.mk
--- bsd.port.mk 8 Nov 2005 09:02:51 -0000 1.518
+++ bsd.port.mk 14 Dec 2005 17:54:40 -0000
@@ -5071,7 +5071,6 @@ __softMAKEFLAGS+= '${softvar}+=${${
.if !defined(NOPRECIOUSMAKEVARS)
# These won't change, so we can pass them through the environment
.MAKEFLAGS: \
- ARCH="${ARCH:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
OPSYS="${OPSYS:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
OSREL="${OSREL:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
OSVERSION="${OSVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
%%%
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
----- End forwarded message -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060129/8e041ec0/attachment.bin
More information about the freebsd-ports
mailing list