mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Remove custom code and replace it by USES=compiler
This commit is contained in:
parent
a481cfeafc
commit
fccb515040
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329868
1 changed files with 1 additions and 18 deletions
|
@ -14,7 +14,7 @@ LICENSE= BSD
|
||||||
|
|
||||||
TR_REV= 96-gae1ec01
|
TR_REV= 96-gae1ec01
|
||||||
MAKE_JOBS_UNSAFE=yes
|
MAKE_JOBS_UNSAFE=yes
|
||||||
USES= cmake gettext:build gmake iconv perl5
|
USES= cmake gettext:build gmake iconv perl5 compiler:c++11-lang
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USE_RC_SUBR= ${PORTNAME}
|
USE_RC_SUBR= ${PORTNAME}
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
@ -25,7 +25,6 @@ CLIENT_DESC= Enable client
|
||||||
DEBUG_DESC= Enable debug
|
DEBUG_DESC= Enable debug
|
||||||
MYSQL_DESC= Install MySQL plugin
|
MYSQL_DESC= Install MySQL plugin
|
||||||
PGSQL_DESC= Install PostgreSQL plugin
|
PGSQL_DESC= Install PostgreSQL plugin
|
||||||
USE_BINUTILS= yes
|
|
||||||
|
|
||||||
OPTIONS_DEFAULT=CLIENT
|
OPTIONS_DEFAULT=CLIENT
|
||||||
|
|
||||||
|
@ -35,22 +34,6 @@ NO_STAGE= yes
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 900014 && !exists(${LOCALBASE}/bin/clang33)
|
|
||||||
# No clang++ installed, use GCC from ports:
|
|
||||||
USE_GCC= 4.6+
|
|
||||||
.else
|
|
||||||
.if ${OSVERSION} < 1000052
|
|
||||||
BUILD_DEPENDS+= clang33:${PORTSDIR}/lang/clang33
|
|
||||||
CC= clang33
|
|
||||||
CXX= clang++33
|
|
||||||
CPP= clang-cpp33
|
|
||||||
.else
|
|
||||||
CC= clang
|
|
||||||
CXX= clang++
|
|
||||||
CPP= clang-cpp
|
|
||||||
.endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MCLIENT}
|
.if ${PORT_OPTIONS:MCLIENT}
|
||||||
CMAKE_ARGS+= -DENABLE_CLIENT=true
|
CMAKE_ARGS+= -DENABLE_CLIENT=true
|
||||||
PLIST_SUB+= CLIENT=""
|
PLIST_SUB+= CLIENT=""
|
||||||
|
|
Loading…
Add table
Reference in a new issue