aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/oscam/Makefile
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2019-07-13 08:07:35 +0800
committerlinimon <linimon@FreeBSD.org>2019-07-13 08:07:35 +0800
commit0cb3a7544642e7f4e4f214184cf394b4aecfe7bd (patch)
treeabd62ebf5876447e6703d59978de852efd7daca3 /multimedia/oscam/Makefile
parent115e0d546ae741e28b493f352478b97a2062afd7 (diff)
downloadfreebsd-ports-gnome-0cb3a7544642e7f4e4f214184cf394b4aecfe7bd.tar.gz
freebsd-ports-gnome-0cb3a7544642e7f4e4f214184cf394b4aecfe7bd.tar.zst
freebsd-ports-gnome-0cb3a7544642e7f4e4f214184cf394b4aecfe7bd.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)
Diffstat (limited to 'multimedia/oscam/Makefile')
-rw-r--r--multimedia/oscam/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/oscam/Makefile b/multimedia/oscam/Makefile
index 5ba40a0a520e..471e4e8c75f6 100644
--- a/multimedia/oscam/Makefile
+++ b/multimedia/oscam/Makefile
@@ -12,7 +12,7 @@ COMMENT= Softcam software to decrypt digital tv channels
LICENSE= GPLv3
-USES= gmake ssl tar:bzip2
+USES= compiler gmake ssl tar:bzip2
USE_RC_SUBR= oscam
.if target(gen-dist)
@@ -30,7 +30,7 @@ BROKEN_FreeBSD_12= field has incomplete type 'BIGNUM' (aka 'struct bignum_st')
BROKEN_FreeBSD_13= field has incomplete type 'BIGNUM' (aka 'struct bignum_st')
.endif
-.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64
+.if ${CHOSEN_COMPILER_TYPE} == clang
MAKE_ARGS+= HOSTCC=clang CC=clang
.endif