mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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)
This commit is contained in:
parent
df8230f473
commit
feee6ce9d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506498
@ -13,7 +13,7 @@ COMMENT= Pythonic binding for the libxml2 and libxslt libraries
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/doc/licenses/BSD.txt
|
||||
|
||||
USES= gnome python uniquefiles:dirs
|
||||
USES= compiler gnome python uniquefiles:dirs
|
||||
USE_GNOME= libxml2 libxslt
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
@ -35,8 +35,8 @@ post-install-DOCS-on:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# on gcc-based architectures, use modern GCC due to use of #pragma
|
||||
.if ${ARCH} == mips || ${ARCH} == mips64 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpcspe || ${ARCH} == sparc64
|
||||
# if using gcc, force modern GCC due to use of #pragma
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
|
@ -33,7 +33,7 @@ PORTDOCS= *
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
${REINPLACE_CMD} -e 's/freebsd-clang/freebsd-g++/' \
|
||||
${WRKSRC}/build/Makefile.qt_ui
|
||||
.endif
|
||||
|
@ -35,7 +35,7 @@ NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|games/lpairs|lpairs|' ${WRKSRC}/configure.in
|
||||
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
${REINPLACE_CMD} -e 's|-Wno-unused-result||' ${WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
|
@ -41,7 +41,7 @@ PLIST_FILES= bin/comical \
|
||||
pre-patch:
|
||||
@${MV} ${WRKSRC}/Comical\ Icons ${WRKSRC}/ComicalIcons
|
||||
|
||||
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e 's|-Wno-unused-local-typedef||' ${WRKSRC}/src/Makefile
|
||||
.endif
|
||||
|
@ -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
|
||||
|
||||
|
@ -19,7 +19,7 @@ GH_ACCOUNT= aox
|
||||
GH_PROJECT= aox
|
||||
GH_TAGNAME= 96ab17e
|
||||
|
||||
USES= perl5 ssl
|
||||
USES= compiler perl5 ssl
|
||||
USE_PERL5= build
|
||||
WITH_PGSQL= client
|
||||
|
||||
@ -44,7 +44,7 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
# force Clang when on FreeBSD with clang in base
|
||||
.if ${OPSYS} == FreeBSD
|
||||
.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64
|
||||
.if ${CHOSEN_COMPILER_TYPE} == clang
|
||||
JAMARG+= "-sCLANG=1"
|
||||
.endif
|
||||
.endif
|
||||
|
@ -14,7 +14,7 @@ LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= jam:devel/jam
|
||||
|
||||
USES= perl5 ssl tar:bzip2
|
||||
USES= compiler perl5 ssl tar:bzip2
|
||||
USE_PERL5= build
|
||||
WITH_PGSQL= client
|
||||
|
||||
@ -38,7 +38,7 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
# force Clang when on FreeBSD with clang in base
|
||||
.if ${OPSYS} == FreeBSD
|
||||
.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64
|
||||
.if ${CHOSEN_COMPILER_TYPE} == clang
|
||||
JAMARG+= "-sCLANG=1"
|
||||
.endif
|
||||
.endif
|
||||
|
@ -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
|
||||
|
||||
|
@ -29,7 +29,7 @@ WRKSRC= ${WRKDIR}/nget-${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
CXXFLAGS+= -std=c++11
|
||||
.else
|
||||
CXXFLAGS+= -std=c++98
|
||||
|
Loading…
Reference in New Issue
Block a user