Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 12:18:50 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431258 - head/Mk
Message-ID:  <201701121218.v0CCIoY8046274@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Jan 12 12:18:50 2017
New Revision: 431258
URL: https://svnweb.freebsd.org/changeset/ports/431258

Log:
  Allow ARCH to be undefined to accommodate ftp/curl/Makefile.
  
  Reported by:	Peter Blok <pblok@bsd4all.org>

Modified:
  head/Mk/bsd.default-versions.mk

Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk	Thu Jan 12 12:12:35 2017	(r431257)
+++ head/Mk/bsd.default-versions.mk	Thu Jan 12 12:18:50 2017	(r431258)
@@ -41,7 +41,7 @@ FPC_DEFAULT?=		3.0.0
 GCC_DEFAULT?=		4.9
 # Possible values: 7, 8, 9, agpl
 GHOSTSCRIPT_DEFAULT?=	agpl
-.if ${ARCH} == amd64
+.if defined(ARCH) && ${ARCH} == amd64
 # Possible values: c6, c6_64, c7, c7_64
 LINUX_DEFAULT?=		c6_64
 .else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701121218.v0CCIoY8046274>