diff --git a/infrastructure/mk/bsd.port.mk b/infrastructure/mk/bsd.port.mk index 8d30501bcf5..89800fa6604 100644 --- a/infrastructure/mk/bsd.port.mk +++ b/infrastructure/mk/bsd.port.mk @@ -1,6 +1,6 @@ #-*- mode: Makefile; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: bsd.port.mk,v 1.909 2007/06/30 14:48:04 espie Exp $ +# $OpenBSD: bsd.port.mk,v 1.910 2007/07/08 17:57:56 espie Exp $ # $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $ # $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $ # @@ -98,7 +98,7 @@ PATCH_CHECK_ONLY ?= No REFETCH ?= false # Constants used by the ports tree -ARCH != uname -m +#ARCH ?!= uname -m OPSYS = OpenBSD OPSYS_VER = ${OSREV} diff --git a/infrastructure/mk/bsd.port.subdir.mk b/infrastructure/mk/bsd.port.subdir.mk index ae5919c04db..e1d518b43da 100644 --- a/infrastructure/mk/bsd.port.subdir.mk +++ b/infrastructure/mk/bsd.port.subdir.mk @@ -1,7 +1,7 @@ #-*- mode: Makefile; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 -# $OpenBSD: bsd.port.subdir.mk,v 1.87 2007/06/30 14:31:00 espie Exp $ +# $OpenBSD: bsd.port.subdir.mk,v 1.88 2007/07/08 17:57:56 espie Exp $ # FreeBSD Id: bsd.port.subdir.mk,v 1.20 1997/08/22 11:16:15 asami Exp # # The include file contains the default targets @@ -58,6 +58,7 @@ STRIP ?= -s .if !defined(OPSYS) # XXX !! OPSYS = OpenBSD .endif +ARCH ?!= uname -m .include "${PORTSDIR}/infrastructure/mk/pkgpath.mk" diff --git a/infrastructure/mk/pkgpath.mk b/infrastructure/mk/pkgpath.mk index 5c2a46b5328..434e9d2c90b 100644 --- a/infrastructure/mk/pkgpath.mk +++ b/infrastructure/mk/pkgpath.mk @@ -1,4 +1,4 @@ -# $OpenBSD: pkgpath.mk,v 1.14 2007/06/28 21:05:48 espie Exp $ +# $OpenBSD: pkgpath.mk,v 1.15 2007/07/08 17:57:56 espie Exp $ # ex:ts=4 sw=4 filetype=make: # pkgpath.mk - 2003 Marc Espie # This file is in the public domain. @@ -53,7 +53,7 @@ _flavor_fragment = \ *) \ dir=$$subdir;; \ esac; \ - toset="PKGPATH=$$dir"; \ + toset="PKGPATH=$$dir ARCH=${ARCH}"; \ case X$$multi in "X");; *) \ toset="$$toset SUBPACKAGE=\"$$multi\"";; \ esac; \