ports/68539: [patch] clarify ARCH vs MACHINE_ARCH in bsd.port.mk

Mark Linimon linimon at lonesome.com
Thu Jul 1 06:10:21 UTC 2004


>Number:         68539
>Category:       ports
>Synopsis:       [patch] clarify ARCH vs MACHINE_ARCH in bsd.port.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 01 06:10:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
Lonesome Dove Computing Services
>Environment:
System: FreeBSD lonesome.lonesome.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #3: Thu Jan 22 20:41:05 CST 2004 root at lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	Add a FAQ to bsd.port.mk.
>How-To-Repeat:
	(n/a)
>Fix:

Index: bsd.port.mk
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.491
diff -u -r1.491 bsd.port.mk
--- bsd.port.mk	10 Jun 2004 07:30:19 -0000	1.491
+++ bsd.port.mk	1 Jul 2004 06:01:50 -0000
@@ -37,7 +37,10 @@
 # you are running on.  These are provided in case you need to take
 # different actions for different values.
 #
-# ARCH			- The architecture, as returned by "uname -p".
+# ARCH			- The architecture of the target machine, such as would be
+#				  returned by "uname -p".  (Note: Ports should test against
+#				  ARCH, and not the host machine's architecture which is
+#				  MACHINE_ARCH, to enable ports to be cross-built.)
 # OPSYS			- Portability clause.  This is the operating system the
 #				  makefile is being used on.  Automatically set to
 #				  "FreeBSD," "NetBSD," or "OpenBSD" as appropriate.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list