aboutsummaryrefslogtreecommitdiff
path: root/lang/harbour
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-07-13 00:07:35 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-07-13 00:07:35 +0000
commitfeee6ce9d61c0e3eb1c200e4adbe5dac8b2b887a (patch)
treeabd62ebf5876447e6703d59978de852efd7daca3 /lang/harbour
parentdf8230f473a59350229f2e498383a9029cfb1f82 (diff)
downloadports-feee6ce9d61c0e3eb1c200e4adbe5dac8b2b887a.tar.gz
ports-feee6ce9d61c0e3eb1c200e4adbe5dac8b2b887a.zip
Prepare for powerpc-on-clang by deleting hard-coded tests for architecture
as a stand-in for "are we running on gcc". Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=506498
Diffstat (limited to 'lang/harbour')
-rw-r--r--lang/harbour/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/harbour/Makefile b/lang/harbour/Makefile
index d016163ff162..1e5ec925dd4f 100644
--- a/lang/harbour/Makefile
+++ b/lang/harbour/Makefile
@@ -27,7 +27,7 @@ LIB_DEPENDS= libslang.so:devel/libslang2\
BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= bison gmake shebangfix ssl
+USES= bison compiler gmake shebangfix ssl
SHEBANG_FILES= bin/hb3rdpat.hbs
SHEBANG_LANG= hbrun
@@ -122,7 +122,7 @@ post-patch:
-e 's|utmp.h|utmpx.h|g' ${WRKSRC}/src/rtl/gtcrs/gtcrs.h
# override default for gcc-based archs
-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+.if ${CHOSEN_COMPILER_TYPE} == gcc
HB_COMPILER= gcc
.endif