From 0cb3a7544642e7f4e4f214184cf394b4aecfe7bd Mon Sep 17 00:00:00 2001 From: linimon Date: Sat, 13 Jul 2019 00:07:35 +0000 Subject: 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) --- multimedia/oscam/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'multimedia/oscam/Makefile') 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 -- cgit