Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724
This commit is contained in:
parent
f60d4bacdc
commit
8a502cb2d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483807
@ -79,7 +79,6 @@ _HEIMDAL_DEPENDS=${GSSAPILIBDIR}/libgssapi.so:security/heimdal
|
||||
_MITKRB5_DEPENDS=${GSSAPILIBDIR}/libkrb5support.so:security/krb5
|
||||
_HEADERS= sys/types.h sys/stat.h stdint.h
|
||||
|
||||
.undef _FIXUP_KRB5CONFIG
|
||||
.if empty(gssapi_ARGS)
|
||||
gssapi_ARGS= base
|
||||
.endif
|
||||
@ -97,9 +96,6 @@ _HEADERS+= gssapi/gssapi.h gssapi/gssapi_krb5.h krb5.h
|
||||
GSSAPICPPFLAGS= -I"${GSSAPIINCDIR}"
|
||||
GSSAPILIBS= -lkrb5 -lgssapi -lgssapi_krb5
|
||||
GSSAPILDFLAGS= -L"${GSSAPILIBDIR}"
|
||||
.if empty(OSREL:N9.3)
|
||||
_FIXUP_KRB5CONFIG= yes
|
||||
.endif
|
||||
.elif ${_local} == "heimdal"
|
||||
HEIMDAL_HOME?= ${LOCALBASE}
|
||||
GSSAPIBASEDIR= ${HEIMDAL_HOME}
|
||||
@ -141,18 +137,7 @@ IGNORE= USES=gssapi - invalid args: [${_local}] specified
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Fix up krb5-config if broken. This script included in 9.X prior to
|
||||
# r271474 and in 10.X prior to r271473 are broken because
|
||||
# libgssapi_krb5 for some interfaces of GSS-API is missing.
|
||||
.if defined(_FIXUP_KRB5CONFIG)
|
||||
KRB5CONFIG=${WRKDIR}/krb5-config
|
||||
_USES_configure+= 290:krb5config-fix
|
||||
krb5config-fix:
|
||||
${SED} -e 's,\$$lib_flags -lgssapi -lheimntlm,\$$lib_flags -lgssapi -lgssapi_krb5 -lheimntlm,' < ${GSSAPIBASEDIR}/bin/krb5-config > ${KRB5CONFIG}
|
||||
${CHMOD} a+rx ${KRB5CONFIG}
|
||||
.else
|
||||
KRB5CONFIG=${GSSAPIBASEDIR}/bin/krb5-config
|
||||
.endif
|
||||
|
||||
# Fix up -Wl,-rpath in LDFLAGS
|
||||
.if defined(_RPATH) && !empty(_RPATH)
|
||||
|
@ -163,8 +163,6 @@ RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}
|
||||
MOZ_EXPORT+= MOZ_JEMALLOC4=1
|
||||
.if ${MOZILLA_VER:R:R} >= 48
|
||||
MOZ_OPTIONS+= --enable-jemalloc=4
|
||||
.elif ${OSVERSION} < 1100079
|
||||
MOZ_OPTIONS+= --enable-jemalloc
|
||||
.endif # Mozilla >= 48
|
||||
.endif # Mozilla < 55
|
||||
|
||||
@ -414,9 +412,6 @@ MOZ_OPTIONS+= --enable-rust-simd
|
||||
.if ${PORT_OPTIONS:MDTRACE}
|
||||
MOZ_OPTIONS+= --enable-dtrace \
|
||||
--disable-gold
|
||||
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100061
|
||||
LIBS+= -lelf
|
||||
. endif
|
||||
STRIP=
|
||||
.else
|
||||
MOZ_OPTIONS+= --disable-dtrace
|
||||
|
@ -36,14 +36,4 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
. if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1101505
|
||||
BUILD_DEPENDS+= llvm50>=0:devel/llvm50
|
||||
# Build is broken on 11.x as clang is not new enough.
|
||||
# Workaround by manually setting CC to clang50.
|
||||
CC= ${LOCALBASE}/bin/clang50
|
||||
CXX= ${LOCALBASE}/bin/clang++50
|
||||
. endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/License.txt
|
||||
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
BROKEN_FreeBSD_10_i386= libmediascan does not compile
|
||||
|
||||
BUILD_DEPENDS= nasm:devel/nasm \
|
||||
bash:shells/bash \
|
||||
|
@ -40,8 +40,6 @@ DESKTOP_ENTRIES="SuperCollider IDE" "" "${LOCALBASE}/share/pixmaps/sc_ide.svg" \
|
||||
|
||||
OPTIONS_DEFINE= HELP SUPERNOVA
|
||||
OPTIONS_DEFAULT= HELP SUPERNOVA
|
||||
# SUPERNOVA option BROKEN_FreeBSD_10: No viable conversion from 'boost::lockfree::detail::tagged_ptr<nova::freelist::freelist_node>'
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= SUPERNOVA
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
HELP_DESC= Install on-line help text
|
||||
|
@ -56,11 +56,7 @@ MYSQL_VARS_OFF= SUB_LIST+=MYSQL=
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1100507
|
||||
SUB_LIST+= CD="cd \$$db_dir"
|
||||
.else
|
||||
SUB_LIST+= CD=
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "i386"
|
||||
TEAMSPEAK_ARCH= x86
|
||||
|
@ -28,13 +28,4 @@ OPTIONS_DEFAULT_armv7= ASM
|
||||
ASM_CONFIGURE_OFF= --disable-asm
|
||||
ASM_DESC= Optimized assembler routines (requires MMX on x86)
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# ASM needs clang 3.8+
|
||||
# depend on llvm60 since it's more likely to be installed already than 3.8
|
||||
.if ${OSVERSION} < 1100101 && ${PORT_OPTIONS:MASM}
|
||||
BUILD_DEPENDS+= clang60:devel/llvm60
|
||||
CC= clang60
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -81,16 +81,8 @@ PORTEXAMPLES= *
|
||||
CMAKE_ARGS+= -DZYN_DATADIR:STRING=${DATADIR}
|
||||
CMAKE_ARGS+= -DZYN_EXAMPLESDIR:STRING=${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
|
||||
# Build fix for ZynAddSubFx
|
||||
BUILD_DEPENDS+= clang60:devel/llvm60
|
||||
CC= clang60
|
||||
CXX= clang++60
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
||||
CFLAGS+= -DASM_F2I_YES
|
||||
.endif
|
||||
|
@ -41,12 +41,8 @@ BUREMOVE= addr2line \
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
||||
.if ${OSVERSION} >= 1100100
|
||||
PLIST_SUB+= OBJCOPY="@comment "
|
||||
BUREMOVE+= objcopy
|
||||
.else
|
||||
PLIST_SUB+= OBJCOPY=""
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
|
||||
PLIST_SUB+= I386=""
|
||||
|
@ -16,7 +16,6 @@ COMMENT= Three-Dimensional Structural Finite Element Program
|
||||
LICENSE= GPLv2
|
||||
|
||||
BROKEN= checksum and size mismatch
|
||||
BROKEN_FreeBSD_10= Does not build with clang on FreeBSD 10, causes segfaults when built with gcc
|
||||
BROKEN_aarch64= fails to link: shapeFunctions.c:(function attach_new): relocation R_AARCH64_CALL26 out of range
|
||||
|
||||
RUN_DEPENDS= ccx:cad/calculix-ccx
|
||||
|
@ -12,8 +12,6 @@ COMMENT= Open Source CNC machine controller
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BROKEN_FreeBSD_10= use of undeclared identifier '__builtin_ia32_rdtsc'
|
||||
|
||||
LIB_DEPENDS= libBLT25.so:x11-toolkits/blt \
|
||||
${PY_BOOST} \
|
||||
libfontconfig.so:x11-fonts/fontconfig \
|
||||
|
@ -43,7 +43,7 @@ post-patch:
|
||||
|
||||
#.include <bsd.port.options.mk>
|
||||
#
|
||||
#.if ${ARCH} == i386 && ${OSVERSION} >= 1100000
|
||||
#.if ${ARCH} == i386
|
||||
#USE_GCC= yes
|
||||
#.endif
|
||||
|
||||
|
@ -44,12 +44,4 @@ do-install-DOCS-on:
|
||||
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
@${FIND} ${STAGEDIR}${DOCSDIR} -d -empty -delete
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
|
||||
BUILD_DEPENDS+= clang60:devel/llvm60
|
||||
CC= clang60
|
||||
CXX= clang++60 # fails to build with the default compiler on 10
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,12 +20,6 @@ PLIST_FILES= ${FONTSDIR_REL}/local.conf-odo
|
||||
|
||||
.include "${.CURDIR}/../ttfm/Makefile.ttf"
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
|
||||
# chmod -R bug
|
||||
post-extract:
|
||||
@${CHMOD} 0755 ${WRKSRC}/license
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},; s,opendesktop,,g' \
|
||||
${WRKSRC}/FAPIcidfmap.zh_CN ${WRKSRC}/FAPIcidfmap.zh_TW \
|
||||
|
@ -13,7 +13,6 @@ COMMENT= AirSpy's usemode driver and associated tools
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/airspy-tools/LICENSE.md
|
||||
|
||||
BROKEN_FreeBSD_10= error: use of undeclared identifier '__m128'
|
||||
BROKEN_aarch64= fails to compile: invalid conversion between vector type '__m64' and integer type 'int'
|
||||
BROKEN_powerpc64= fails to build: iqconverter_float.c:45:23: error: immintrin.h: No such file or directory
|
||||
|
||||
|
@ -22,14 +22,4 @@ USES= perl5
|
||||
USE_PERL5= configure
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
|
||||
# chmod -R bug
|
||||
post-extract:
|
||||
.for d in / /lib /lib/Unicode /t
|
||||
@${CHMOD} 755 ${WRKSRC}${d}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,7 +16,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
ONLY_FOR_ARCHS_REASON= "Only builds on amd64"
|
||||
BROKEN_FreeBSD_10= libc++ is too old
|
||||
USES= gmake ssl cmake:outsource,noninja python:2.7 compiler
|
||||
USE_GITHUB= yes
|
||||
|
||||
|
@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
ONLY_FOR_ARCHS_REASON= "Only builds on amd64: https://github.com/arangodb/arangodb/issues/2334"
|
||||
BROKEN_FreeBSD_10= libc++ is too old
|
||||
|
||||
CONFLICTS_INSTALL= arangodb32
|
||||
CONFLICTS_BUILD= v8
|
||||
|
@ -13,7 +13,6 @@ COMMENT= ClickHouse is a column-oriented database management system
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
BROKEN_FreeBSD_10= Builds but does not work
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
ONLY_FOR_ARCHS_REASON= "Only supported on amd64"
|
||||
|
||||
@ -81,12 +80,6 @@ SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment "
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101513
|
||||
BUILD_DEPENDS+= clang50:devel/llvm50
|
||||
CC= clang50
|
||||
CXX= clang++50
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/var/lib/clickhouse|/var/db/clickhouse|;s|/var/log/clickhouse-server|/var/log/clickhouse|;s|/etc/clickhouse-server|${PREFIX}/etc/clickhouse-server|' ${WRKSRC}/dbms/programs/server/config.xml
|
||||
|
||||
|
@ -74,11 +74,8 @@ DOCS_INSTALL_TARGET= install_docs
|
||||
# db5 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
|
||||
# and also bug#205001
|
||||
CONFIGURE_ARGS+= --enable-posixmutexes
|
||||
. if ${OSVERSION} > 1100100
|
||||
# ^ leave that as ">" it really is greater than but NOT equal
|
||||
# force POSIX mutexes - the OS supports PTHREAD_PROCESS_SHARED
|
||||
CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads
|
||||
. endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
@ -67,11 +67,7 @@ DOCS_INSTALL_TARGET= install_docs
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == aarch64
|
||||
. if ${OSVERSION} > 1100100
|
||||
CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads
|
||||
. else
|
||||
CONFIGURE_ARGS+= --enable-posixmutexes
|
||||
. endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
@ -40,7 +40,6 @@ OPTIONS_DEFAULT= SASL DTRACE
|
||||
OPTIONS_EXCLUDE+= DTRACE
|
||||
.endif
|
||||
|
||||
OPTIONS_EXCLUDE_FreeBSD_10+= DTRACE
|
||||
OPTIONS_EXCLUDE_i386= DTRACE
|
||||
# ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
|
||||
OPTIONS_EXCLUDE_aarch64= DTRACE
|
||||
|
@ -20,7 +20,6 @@ LICENSE_COMB= multi
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)"
|
||||
BROKEN_FreeBSD_10= libc++ is too old
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>=2.4.4:devel/py-cheetah@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typing>=3.6.2:devel/py-typing@${PY_FLAVOR} \
|
||||
|
@ -17,19 +17,13 @@ LIB_DEPENDS= libboost_regex.so:devel/boost-libs
|
||||
|
||||
USES= cmake:outsource compiler:c++11-lang mysql ssl
|
||||
USE_LDCONFIG= yes
|
||||
CMAKE_ARGS= -DDOC_DESTINATION="${DOCSDIR}"
|
||||
CMAKE_ARGS= -DDOC_DESTINATION="${DOCSDIR}" -DCMAKE_ENABLE_C++11=ON
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
PORTDOCS= *
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
|
||||
CMAKE_ARGS+=-DCMAKE_ENABLE_C++11=ON
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${RM} ${STAGEDIR}${DOCSDIR}/INSTALL \
|
||||
${STAGEDIR}${DOCSDIR}/COPYING
|
||||
@ -67,4 +61,4 @@ do-test:
|
||||
test/unit/classes/statement )
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -42,17 +42,11 @@ DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
|
||||
.if ${OSVERSION} < 1100101
|
||||
@${REINPLACE_CMD} -e 's/ -fstack-protector-strong//' \
|
||||
${WRKSRC}/src/CMakeLists.txt
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -39,17 +39,11 @@ DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
|
||||
.if ${OSVERSION} < 1100101
|
||||
@${REINPLACE_CMD} -e 's/ -fstack-protector-strong//' \
|
||||
${WRKSRC}/src/CMakeLists.txt
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -26,13 +26,4 @@ do-install:
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
|
||||
# chmod -R bug.
|
||||
# Do not use "-exec ... +", because of the same bug, it will not work.
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -35,14 +35,6 @@ PLIST_FILES= bin/${PORTNAME} \
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000) || make(makesum)
|
||||
MASTER_SITES+= http://releases.llvm.org/6.0.1/:llvm
|
||||
DISTFILES+= libcxx-6.0.1.src.tar.xz:llvm
|
||||
CXXFLAGS+= -isystem ${WRKDIR}/libcxx-6.0.1.src/include
|
||||
.endif
|
||||
|
||||
post-patch: .SILENT
|
||||
${REINPLACE_CMD} -e 's|sys->frame->GetPath(L"|(L"${DOCSDIR}/|' \
|
||||
${BUILD_WRKSRC}/document.h
|
||||
@ -71,4 +63,4 @@ do-install-EXAMPLES-on:
|
||||
(cd ${WRKSRC}/TS/examples && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \
|
||||
${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,3 @@
|
||||
TIMESTAMP = 1538869581
|
||||
SHA256 (libcxx-6.0.1.src.tar.xz) = 7654fbc810a03860e6f01a54c2297a0b9efb04c0b9aa0409251d9bdb3726fc67
|
||||
SIZE (libcxx-6.0.1.src.tar.xz) = 1552328
|
||||
TIMESTAMP = 1541105162
|
||||
SHA256 (aardappel-treesheets-v1.0.1_GH0.tar.gz) = cacf0593e12c484f68adf4d462147efed202b1c2d09e58e90c9fb98cb3e7b874
|
||||
SIZE (aardappel-treesheets-v1.0.1_GH0.tar.gz) = 2316388
|
||||
|
@ -12,9 +12,7 @@ COMMENT= Extension of Data.frame
|
||||
LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN_FreeBSD_11_i386= unable to load datatable.so
|
||||
BROKEN_FreeBSD_12_i386= unable to load datatable.so
|
||||
BROKEN_FreeBSD_13_i386= unable to load datatable.so
|
||||
BROKEN_i386= unable to load datatable.so
|
||||
|
||||
USES= cran:auto-plist,compiles
|
||||
|
||||
|
@ -12,8 +12,6 @@ COMMENT= GRPC-like RPC library that supports file descriptor passing
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
IGNORE_FreeBSD_10= requires various C++17 features
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyPEG2>=2.15.2:textproc/py-pyPEG2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py-toposort@${PY_FLAVOR}
|
||||
LIB_DEPENDS= libargdata.so:devel/argdata
|
||||
|
@ -10,9 +10,6 @@ BROKEN_sparc64= https://github.com/boostorg/context/commit/f2ef6326b6ed
|
||||
|
||||
BUILD_DEPENDS+= bjam:devel/boost-jam
|
||||
|
||||
# libs/config/test/boost_no_cxx11_thread_local.ipp fails (see base r303795)
|
||||
PLIST_SUB+= FIBER="${"${OPSYS}"=="FreeBSD" && ${OSREL:R} < 11:?@comment :}"
|
||||
|
||||
OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS
|
||||
OPTIONS_MULTI= LOCALE
|
||||
OPTIONS_MULTI_LOCALE= ICONV ICU
|
||||
|
@ -13594,9 +13594,9 @@ lib/libboost_date_time.a
|
||||
lib/libboost_date_time.so
|
||||
lib/libboost_date_time.so.%%BOOST_SHARED_LIB_VER%%
|
||||
lib/libboost_exception.a
|
||||
%%FIBER%%lib/libboost_fiber.a
|
||||
%%FIBER%%lib/libboost_fiber.so
|
||||
%%FIBER%%lib/libboost_fiber.so.%%BOOST_SHARED_LIB_VER%%
|
||||
lib/libboost_fiber.a
|
||||
lib/libboost_fiber.so
|
||||
lib/libboost_fiber.so.%%BOOST_SHARED_LIB_VER%%
|
||||
lib/libboost_filesystem.a
|
||||
lib/libboost_filesystem.so
|
||||
lib/libboost_filesystem.so.%%BOOST_SHARED_LIB_VER%%
|
||||
|
@ -24,14 +24,6 @@ PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
|
||||
# chmod -R bug.
|
||||
post-extract:
|
||||
@${CHMOD} 755 ${WRKSRC}/docs/images
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
@ -41,4 +33,4 @@ do-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/*.* ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/images/* ${STAGEDIR}${DOCSDIR}/images
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,8 +16,6 @@ LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
|
||||
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING-GPLV2
|
||||
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING-LGPLV3
|
||||
|
||||
IGNORE_FreeBSD_10= stable/10 base libelf.h lacks needed ELF types
|
||||
|
||||
BROKEN_aarch64= fails to build: fatal error: linux/uio.h: No such file or directory
|
||||
BROKEN_armv6= fails to build: fails to compile i386_disasm.c
|
||||
BROKEN_armv7= fails to build: fails to compile i386_disasm.c
|
||||
|
@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
IGNORE_FreeBSD_10= base compiler too old
|
||||
|
||||
BUILD_DEPENDS= llvm60>=0:devel/llvm60
|
||||
RUN_DEPENDS= llvm60>=0:devel/llvm60
|
||||
|
@ -48,24 +48,11 @@ gio_MAN= gdbus.1 gsettings.1 gio-querymodules.1 gio.1 \
|
||||
glib-compile-resources.1 gresource.1 gdbus-codegen.1
|
||||
gobject_MAN= glib-genmarshal.1 glib-mkenums.1 gobject-query.1
|
||||
|
||||
OPTIONS_DEFINE= COLLATION_FIX DEBUG NLS
|
||||
OPTIONS_DEFINE= DEBUG NLS
|
||||
OPTIONS_SUB= yes
|
||||
# libc collation was fixed by https://svnweb.freebsd.org/changeset/base/290494
|
||||
COLLATION_FIX_DESC= Use ICU for UTF-8 string collation (if libc is broken)
|
||||
|
||||
OPTIONS_EXCLUDE_FreeBSD_11= COLLATION_FIX
|
||||
OPTIONS_EXCLUDE_FreeBSD_12= COLLATION_FIX
|
||||
OPTIONS_EXCLUDE_FreeBSD_13= COLLATION_FIX
|
||||
|
||||
DEBUG_CONFIGURE_ON= --enable-debug=yes
|
||||
|
||||
COLLATION_FIX_LIB_DEPENDS+= libicui18n.so:devel/icu
|
||||
COLLATION_FIX_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-glib_Makefile.in \
|
||||
${FILESDIR}/extra-patch-glib_gunicollate.c
|
||||
# Disable it until someone can figure why it causes net-im/pidgin crashed.
|
||||
# http://www.freebsd.org/cgi/query-pr.cgi?pr=175930 see comment by ed@
|
||||
#COLLATION_FIX_CONFIGURE_ENV+= CFLAGS="-D__STDC_ISO_10646__"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# doesn't build yet
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- glib/Makefile.in.orig 2012-09-27 15:07:28.000000000 +0000
|
||||
+++ glib/Makefile.in 2012-09-27 15:08:02.000000000 +0000
|
||||
@@ -415,7 +415,7 @@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
LD = @LD@
|
||||
-LDFLAGS = @LDFLAGS@
|
||||
+LDFLAGS = @LDFLAGS@ -licui18n
|
||||
LIBELF_CFLAGS = @LIBELF_CFLAGS@
|
||||
LIBELF_LIBS = @LIBELF_LIBS@
|
||||
LIBFFI_CFLAGS = @LIBFFI_CFLAGS@
|
@ -1,124 +0,0 @@
|
||||
--- glib/gunicollate.c.orig 2012-11-24 20:50:39.000000000 +0000
|
||||
+++ glib/gunicollate.c 2013-03-08 12:16:59.000000000 +0000
|
||||
@@ -26,6 +26,10 @@
|
||||
#include <wchar.h>
|
||||
#endif
|
||||
|
||||
+#include <unicode/umachine.h>
|
||||
+#include <unicode/ustring.h>
|
||||
+#include <unicode/ucol.h>
|
||||
+
|
||||
#ifdef HAVE_CARBON
|
||||
#include <CoreServices/CoreServices.h>
|
||||
#endif
|
||||
@@ -36,11 +40,54 @@
|
||||
#include "gstring.h"
|
||||
#include "gstrfuncs.h"
|
||||
#include "gtestutils.h"
|
||||
+#include "gthread.h"
|
||||
#include "gcharset.h"
|
||||
#ifndef __STDC_ISO_10646__
|
||||
#include "gconvert.h"
|
||||
#endif
|
||||
|
||||
+static gboolean icu_collator_initialized = FALSE;
|
||||
+static UCollator *icu_collator = NULL;
|
||||
+G_LOCK_DEFINE_STATIC(icu_collator);
|
||||
+
|
||||
+static void
|
||||
+init_icu_collator (void)
|
||||
+{
|
||||
+ G_LOCK(icu_collator);
|
||||
+ if (! icu_collator_initialized)
|
||||
+ {
|
||||
+ UErrorCode error = U_ZERO_ERROR;
|
||||
+
|
||||
+ icu_collator = ucol_open(NULL, &error);
|
||||
+ if (icu_collator == NULL)
|
||||
+ g_warning("unable to initialize the ICU collator (%s), FreeBSD collation routines will be used", u_errorName(error));
|
||||
+
|
||||
+ icu_collator_initialized = TRUE;
|
||||
+ }
|
||||
+ G_UNLOCK(icu_collator);
|
||||
+}
|
||||
+
|
||||
+static UChar *
|
||||
+utf8_to_uchar (const char *str, int32_t len, int32_t *result_len)
|
||||
+{
|
||||
+ UErrorCode error = U_ZERO_ERROR;
|
||||
+ UChar *result = NULL;
|
||||
+
|
||||
+ u_strFromUTF8(NULL, 0, result_len, str, len, &error);
|
||||
+ if (error <= U_ZERO_ERROR || error == U_BUFFER_OVERFLOW_ERROR)
|
||||
+ {
|
||||
+ error = U_ZERO_ERROR;
|
||||
+ result = g_new(UChar, *result_len);
|
||||
+ u_strFromUTF8(result, *result_len, NULL, str, len, &error);
|
||||
+ if (error > U_ZERO_ERROR)
|
||||
+ {
|
||||
+ g_free(result);
|
||||
+ result = NULL;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ return result;
|
||||
+}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
/* Workaround for bug in MSVCR80.DLL */
|
||||
@@ -128,6 +175,28 @@
|
||||
g_return_val_if_fail (str1 != NULL, 0);
|
||||
g_return_val_if_fail (str2 != NULL, 0);
|
||||
|
||||
+ init_icu_collator();
|
||||
+ if (icu_collator != NULL)
|
||||
+ {
|
||||
+ int32_t wstr1_len;
|
||||
+ UChar *wstr1 = utf8_to_uchar(str1, -1, &wstr1_len);
|
||||
+ if (wstr1 != NULL)
|
||||
+ {
|
||||
+ int32_t wstr2_len;
|
||||
+ UChar *wstr2 = utf8_to_uchar(str2, -1, &wstr2_len);
|
||||
+ if (wstr2 != NULL)
|
||||
+ {
|
||||
+ result = ucol_strcoll(icu_collator, wstr1, wstr1_len, wstr2, wstr2_len);
|
||||
+
|
||||
+ g_free(wstr1);
|
||||
+ g_free(wstr2);
|
||||
+
|
||||
+ return result;
|
||||
+ }
|
||||
+ g_free(wstr1);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
str1_norm = g_utf8_normalize (str1, -1, G_NORMALIZE_ALL_COMPOSE);
|
||||
str2_norm = g_utf8_normalize (str2, -1, G_NORMALIZE_ALL_COMPOSE);
|
||||
|
||||
@@ -419,6 +488,26 @@
|
||||
|
||||
g_return_val_if_fail (str != NULL, NULL);
|
||||
|
||||
+ init_icu_collator();
|
||||
+ if (icu_collator != NULL)
|
||||
+ {
|
||||
+ int32_t wstr_len;
|
||||
+ UChar *wstr = utf8_to_uchar(str, len, &wstr_len);
|
||||
+ if (wstr != NULL)
|
||||
+ {
|
||||
+ int32_t result_len;
|
||||
+
|
||||
+ /* get size of result */
|
||||
+ result_len = ucol_getSortKey(icu_collator, wstr, wstr_len, NULL, 0);
|
||||
+
|
||||
+ result = g_new(char, result_len);
|
||||
+ ucol_getSortKey(icu_collator, wstr, wstr_len, result, result_len);
|
||||
+ g_free(wstr);
|
||||
+
|
||||
+ return result;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
str_norm = g_utf8_normalize (str, len, G_NORMALIZE_ALL_COMPOSE);
|
||||
|
||||
result = NULL;
|
@ -32,7 +32,7 @@ PORTDOCS= README
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# does not compile with clang 6.0.0
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1101513
|
||||
.if ${OPSYS} == FreeBSD
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
|
@ -12,7 +12,6 @@ LICENSE= GPLv2 MIT # MIT for bundled handlebars, jquery, tablesorter
|
||||
LICENSE_COMB= multi
|
||||
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_FreeBSD_10= PR228478 devel/elfutils: undefined symbols on 10.4-RELEASE
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
ONLY_FOR_ARCHS_REASON= ptrace code is only implemented for amd64
|
||||
|
||||
|
@ -16,7 +16,6 @@ USE_LDCONFIG= yes
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= openzim
|
||||
# Using gcc6 and libstdc++ leads to error because xapian-core is linked with libc++
|
||||
BROKEN_FreeBSD_10= /usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
|
||||
|
||||
BINARY_ALIAS= python3=python${PYTHON_VER} python3-config=python${PYTHON_VER}-config
|
||||
|
||||
|
@ -33,8 +33,6 @@ SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \
|
||||
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
|
||||
tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py
|
||||
|
||||
BROKEN_FreeBSD_10= error: anonymous union can only contain non-static data members
|
||||
|
||||
SUB_FILES= llvm-wrapper.sh
|
||||
SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}"
|
||||
|
||||
@ -62,7 +60,6 @@ OPTIONS_DEFINE_i386= COMPILER_RT OPENMP
|
||||
OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB
|
||||
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
|
||||
OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPENMP
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
PLIST_FILES=
|
||||
|
@ -55,7 +55,6 @@ OPTIONS_DEFINE_i386= COMPILER_RT OPENMP
|
||||
OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB
|
||||
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
|
||||
OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= LLDB
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
CLANG_DESC= Build clang
|
||||
|
@ -52,7 +52,6 @@ OPTIONS_DEFINE_i386= COMPILER_RT OPENMP
|
||||
OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB
|
||||
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
|
||||
OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPENMP
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
CLANG_DESC= Build clang
|
||||
|
@ -11,8 +11,6 @@ COMMENT= Small sysctl(3) interface for lua
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
BROKEN_FreeBSD_10= does not build (error: use of undeclared identifier 'CTLTYPE_S8')
|
||||
|
||||
USES= pkgconfig lua
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
@ -25,14 +25,6 @@ MAKE_ARGS+= FREEBSD_SRC_DIR=${SRC_BASE}
|
||||
WRKSRC_SUBDIR= freebsd/cddl/usr.bin/mdb
|
||||
CFLAGS+= -DMDB_PREFIX=\\\"${PREFIX}\\\" -g
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 1100021
|
||||
# This port uses CWARNFLAGS.clang to silence warnings which only works
|
||||
# in 11.0 and later.
|
||||
MAKE_ARGS+= NO_WERROR=yes
|
||||
.endif
|
||||
|
||||
.if !exists(${SRC_BASE}/cddl/compat) || !exists(${SRC_BASE}/sys/cddl/compat)
|
||||
IGNORE= requires full source tree with CDDL sources
|
||||
.endif
|
||||
@ -40,4 +32,4 @@ IGNORE= requires full source tree with CDDL sources
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/mdb/kvm/${MACHINE_ARCH}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,8 +13,6 @@ COMMENT= SPIR interpreter and virtual OpenCL device simulator
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN_FreeBSD_10= oclgrind is only supported on FreeBSD 11.0 and newer, crashes LLVM 3.4
|
||||
|
||||
BUILD_DEPENDS= opencl>=0:devel/opencl \
|
||||
llvm-config50:devel/llvm50
|
||||
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
|
||||
|
@ -12,16 +12,12 @@ FreeBSD USB NOTE:
|
||||
add him/her to the operator group (pw groupmod operator -m username), then
|
||||
setup the devfs subsystem by adding these lines to the following files:
|
||||
|
||||
***/etc/devfs.rules (FreeBSD >= 8):
|
||||
***/etc/devfs.rules:
|
||||
[localrules=10]
|
||||
add path 'ugen*' mode 0660 group operator
|
||||
add path 'usb/*' mode 0660 group operator
|
||||
add path 'usb' mode 0770 group operator
|
||||
|
||||
***/etc/devfs.rules (FreeBSD <= 7):
|
||||
[localrules=10]
|
||||
add path 'ugen*' mode 0660 group operator
|
||||
|
||||
***/etc/rc.conf:
|
||||
devfs_system_ruleset="localrules"
|
||||
|
||||
|
@ -23,11 +23,9 @@ USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
|
||||
.if ${COMPILER_TYPE:Mclang}
|
||||
CFLAGS+= -Wno-shift-negative-value
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so
|
||||
|
@ -19,14 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
USES= python:2.7
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100002
|
||||
EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \
|
||||
${FILESDIR}/freebsd11_patch-src__netstat.c
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/freebsd.so
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -58,12 +58,6 @@ DOCS_INSTALL_TARGET= install_docs
|
||||
|
||||
PLIST_SUB= SHLIB_VER="${PORTVERSION}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
|
||||
# The detection of is_trivially_destructible fails with clang-3.4 from 10.3.
|
||||
QMAKE_ARGS+= DEFINES+=TR2_OPTIONAL_DISABLE_EMULATION_OF_TYPE_TRAITS
|
||||
.endif
|
||||
|
||||
# Fix paths for gnuplot and ant.
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/gnuplot|${LOCALBASE}/bin/gnuplot|' \
|
||||
@ -82,4 +76,4 @@ pre-configure:
|
||||
# See QTBUG-40825 and ports bugs 194088, 195105 and 198720.
|
||||
${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${WRKSRC}/lib' >> ${WRKSRC}/.qmake.cache
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,18 +16,14 @@ EXTRACT_BEFORE_ARGS= -idF
|
||||
EXTRACT_AFTER_ARGS= # empty
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Remove a test that's too clever for its own good
|
||||
post-extract:
|
||||
@${MV} ${WRKSRC}/src/lib/sfio/Sfio_t/tmmap2read.c \
|
||||
${WRKSRC}/src/lib/sfio/Sfio_t/.tmmap2read.c
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
|
||||
${WRKSRC}/src/lib/sfio/*.[ch]
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/src/lib/sfio && ${MAKE} all -f makefile
|
||||
@ -39,4 +35,4 @@ do-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man1/iffe.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man3/sfio.3 ${STAGEDIR}${PREFIX}/man/man3
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -10,8 +10,6 @@ COMMENT= C++ caching compiler based on clang
|
||||
LICENSE= NCSA
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
||||
|
||||
BROKEN_FreeBSD_10= error: expected a class or namespace const NoneType None = NoneType::None
|
||||
|
||||
BUILD_DEPENDS= googletest>0:devel/googletest
|
||||
|
||||
USES= cmake:outsource libedit python:3.4+ shebangfix
|
||||
|
@ -8,10 +8,4 @@
|
||||
sysrc knot_config=%%ETCDIR%%/knot.conf
|
||||
service knot start
|
||||
|
||||
Traditional (pre-FreeBSD 9.2) method, for last three commands:
|
||||
|
||||
echo knot_enable=\"YES\" >> /etc/rc.conf
|
||||
echo knot_config=\"%%PREFIX%%/etc/knot/knot.conf\" >> /etc/rc.conf
|
||||
%%PREFIX%%/etc/rc.d/knot start
|
||||
|
||||
######################################################################
|
||||
|
@ -14,6 +14,9 @@ COMMENT= High performance authoritative-only DNS server
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
NOT_FOR_ARCHS= i386
|
||||
NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 on FreeBSD >= 11.2
|
||||
|
||||
LIB_DEPENDS= libgnutls.so:security/gnutls \
|
||||
libidn2.so:dns/libidn2 \
|
||||
liblmdb.so:databases/lmdb \
|
||||
@ -60,13 +63,6 @@ FASTPARSER_CONFIGURE_ENABLE= fastparser
|
||||
IDN_CONFIGURE_WITH= libidn
|
||||
IDN_LIB_DEPENDS= libidn.so:dns/libidn
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1120000
|
||||
NOT_FOR_ARCHS= i386
|
||||
NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 on FreeBSD >= 11.2
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
|
@ -11,8 +11,6 @@ COMMENT= File editor/viewer/analyzer for executables
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_FreeBSD_10= misgenerated yacc code
|
||||
|
||||
USES= autoreconf compiler:c++14-lang makeinfo ncurses tar:bzip2
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= sebastianbiallas
|
||||
|
@ -17,8 +17,6 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/license.txt
|
||||
LICENSE_FILE_MIT= ${WRKSRC}/externals/enet/LICENSE
|
||||
LICENSE_FILE_LGPL21+ = ${_LICENSE_STORE}/LGPL21 # soundtouch
|
||||
|
||||
BROKEN_FreeBSD_10= libc++ does not support C++17 features
|
||||
|
||||
BUILD_DEPENDS= boost-libs>=1.66:devel/boost-libs
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
@ -11,8 +11,6 @@ COMMENT= Gamecube and Wii Emulator
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/license.txt
|
||||
|
||||
BROKEN_FreeBSD_10= conflicting types for '__hash_table<_Tp, _Hash, _Equal, _Alloc>'
|
||||
|
||||
# Notes on dependencies:
|
||||
# - alsa support disabled (not optimal)
|
||||
# - enet and soundtouch come from Externals/ as Dolphin's versions diverge
|
||||
|
@ -48,7 +48,7 @@ MONO_RUN_DEPENDS= ${DATADIR}/mono/wine-mono-4.7.1.msi:emulators/wine-mono-devel
|
||||
# Included for OPSYS and OSVERSION
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.for osrel in 10 11 12
|
||||
.for osrel in 11 12
|
||||
.if ${OSREL:C/\..*//} == ${osrel}
|
||||
PLIST_SUB+= OSREL${osrel}=""
|
||||
.if ${PKGNAMESUFFIX} == -devel
|
||||
@ -65,7 +65,7 @@ PLIST_SUB+= OSREL${osrel}-DEVEL="@comment "
|
||||
.endfor
|
||||
|
||||
.if ${OPSYS} != FreeBSD || (!(${OSVERSION} < 1100000) && !(${OSVERSION} >= 1101000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1200060 && ${OSVERSION} < 1300000))
|
||||
IGNORE= binaries compiled for FreeBSD 10.3+, 11.1+ and -current only
|
||||
IGNORE= binaries compiled for FreeBSD 11.2+ only
|
||||
DISTFILES=
|
||||
.endif
|
||||
|
||||
@ -83,7 +83,7 @@ ${PLIST}: fetch
|
||||
|
||||
port-update:
|
||||
${RM} ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
|
||||
.for osrel in 10 11 12
|
||||
.for osrel in 11 12
|
||||
${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
|
||||
${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
|
||||
${CAT} ${SLAVEDIR}/distinfo >> ${SLAVEDIR}/distinfo~
|
||||
|
@ -49,7 +49,7 @@ PORTSCOUT= limitw:1,even
|
||||
# Included for OPSYS and OSVERSION
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.for osrel in 10 11 12
|
||||
.for osrel in 11 12
|
||||
.if ${OSREL:C/\..*//} == ${osrel}
|
||||
PLIST_SUB+= OSREL${osrel}=""
|
||||
.else
|
||||
@ -58,7 +58,7 @@ PLIST_SUB+= OSREL${osrel}="@comment "
|
||||
.endfor
|
||||
|
||||
.if ${OPSYS} != FreeBSD || (!(${OSVERSION} < 1000000) && !(${OSVERSION} >= 1003000 && ${OSVERSION} < 1100000) && !(${OSVERSION} >= 1101000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1200056 && ${OSVERSION} < 1300000))
|
||||
IGNORE= binaries compiled for FreeBSD 10.3+, 11.0+ and -current only
|
||||
IGNORE= binaries compiled for FreeBSD 11.2+ only
|
||||
DISTFILES=
|
||||
.endif
|
||||
|
||||
@ -75,7 +75,7 @@ ${PLIST}: fetch
|
||||
|
||||
port-update:
|
||||
${RM} ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
|
||||
.for osrel in 10 11 12
|
||||
.for osrel in 11 12
|
||||
${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
|
||||
${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
|
||||
${CAT} ${SLAVEDIR}/distinfo >> ${SLAVEDIR}/distinfo~
|
||||
|
@ -120,7 +120,7 @@ REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/gshadow etc/motd \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100105
|
||||
.if ${LINUX_ARCH} == x86_64
|
||||
SYSCTLMIB= kern.features.linux64
|
||||
.else
|
||||
SYSCTLMIB= compat.linux.osrelease
|
||||
|
@ -125,7 +125,7 @@ REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/gshadow etc/motd \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100105
|
||||
.if ${LINUX_ARCH} == x86_64
|
||||
SYSCTLMIB= kern.features.linux64
|
||||
.else
|
||||
SYSCTLMIB= compat.linux.osrelease
|
||||
|
@ -63,10 +63,6 @@ INSTALL_TARGET= install-strip
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 1100000
|
||||
CFLAGS+= -Wno-unknown-warning-option
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MX11}
|
||||
CONFLICTS= open-vm-tools-nox11-[0-9]*
|
||||
.else
|
||||
|
@ -114,10 +114,6 @@ GROUPS= nova
|
||||
IGNORE= only supported on FreeBSD
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 1100055
|
||||
IGNORE= only supported on recent FreeBSD 11
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@(cd ${WRKSRC}/etc/nova; ${MV} logging_sample.conf logging.conf.sample)
|
||||
@(cd ${WRKSRC}/etc/nova; for f in *.conf; do ${MV} $${f} $${f}.sample; done)
|
||||
|
@ -26,7 +26,6 @@ USES= gettext-runtime gmake libtool makeinfo pkgconfig python:2.7,build
|
||||
USE_XORG= pixman
|
||||
USE_GNOME+= glib20
|
||||
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64
|
||||
BROKEN_FreeBSD_10= Default toolchain lacks support for .cfi_sections
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
|
@ -15,8 +15,6 @@ COMMENT= Fork of QEMU with experimental PowerPCNV emulation support
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
IGNORE_FreeBSD_10= does not build
|
||||
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
@ -50,14 +50,8 @@ CONFIGURE_ARGS=--target-list=riscv64-softmmu,riscv32-softmmu \
|
||||
PLIST_FILES= bin/qemu-system-riscv32 \
|
||||
bin/qemu-system-riscv64
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 1100000
|
||||
IGNORE= does not build
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/riscv32-softmmu/qemu-system-riscv32 ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/riscv64-softmmu/qemu-system-riscv64 ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -244,24 +244,10 @@ CONFIGURE_ARGS+= --sparc_cpu=v9
|
||||
|
||||
CONFIGURE_ARGS+= --python=${PYTHON_CMD}
|
||||
|
||||
# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
|
||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000)
|
||||
PLIST_SUB+= LINUXBOOT_DMA="@comment "
|
||||
.else
|
||||
PLIST_SUB+= LINUXBOOT_DMA=""
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/libs_qga=/s|glib_libs|glib_libs -lintl|' ${WRKSRC}/configure
|
||||
# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
|
||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000)
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|linuxboot_dma.bin||' \
|
||||
${WRKSRC}/pc-bios/optionrom/Makefile
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|linuxboot_dma.bin||' \
|
||||
${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
.if empty(PORT_OPTIONS:MCDROM_DMA)
|
||||
@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/cdrom-dma-patch
|
||||
|
@ -116,12 +116,7 @@ MAKE_ARGS+= ARCH=ppc64
|
||||
CONFIGURE_ARGS+= --sparc_cpu=v9
|
||||
.endif
|
||||
|
||||
# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
|
||||
.if (${OSVERSION} < 1100000)
|
||||
PLIST_SUB+= LINUXBOOT_DMA="@comment "
|
||||
.else
|
||||
PLIST_SUB+= LINUXBOOT_DMA=""
|
||||
.endif
|
||||
|
||||
# -lprocstat actually only _needs_ -lelf after r249666 or r250870 (MFC)
|
||||
# but it shouldn't matter much
|
||||
@ -144,15 +139,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \
|
||||
${WRKSRC}/scripts/texi2pod.pl
|
||||
# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
|
||||
.if (${OSVERSION} < 1100000)
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|linuxboot_dma.bin||' \
|
||||
${WRKSRC}/pc-bios/optionrom/Makefile
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|linuxboot_dma.bin||' \
|
||||
${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
post-patch-CDROM_DMA-off:
|
||||
@${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h
|
||||
|
@ -18,8 +18,6 @@ LICENSE_FILE_BSD3CLAUSE=${WRKSRC_cereal}/LICENSE
|
||||
LICENSE_FILE_MIT= ${WRKSRC_GSL}/LICENSE
|
||||
LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md
|
||||
|
||||
BROKEN_FreeBSD_10= libc++ does not support C++17 features
|
||||
|
||||
LIB_DEPENDS= libpng.so:graphics/png \
|
||||
libavcodec.so:multimedia/ffmpeg
|
||||
|
||||
|
@ -76,11 +76,7 @@ KMK_ARCH= freebsd.${ARCH}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSREL:R} >= 11
|
||||
SYMBOLSUFFIX= debug
|
||||
.else
|
||||
SYMBOLSUFFIX= symbols
|
||||
.endif
|
||||
PLIST_SUB+= SYMBOLSUFFIX=${SYMBOLSUFFIX}
|
||||
|
||||
post-patch:
|
||||
|
@ -101,10 +101,6 @@ EXTRA_PATCHES= ${FILESDIR}/0001-xen-logdirty-prevent-preemption-if-finished.patc
|
||||
IGNORE= only supported on FreeBSD
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 1100055
|
||||
IGNORE= only supported on recent FreeBSD 11
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
${MAKE_CMD} -C ${WRKSRC}/xen defconfig ${MAKE_ARGS}
|
||||
# Enable hypervisor hot-patching.
|
||||
|
@ -32,11 +32,6 @@ OPTIONS_DEFINE+=THREAD_SAFE_OBSERVER_PATTERN
|
||||
OPTIONS_DEFINE+=THREAD_SAFE_SINGLETON_INIT
|
||||
OPTIONS_DEFINE+=${OPTIONS_DEFAULT}
|
||||
|
||||
.if ${CC} == "cc"
|
||||
# The base cc/c++ on FreeBSD-10 is too old for OpenMP.
|
||||
OPTIONS_EXCLUDE_FreeBSD_10=OPENMP
|
||||
.endif
|
||||
|
||||
BENCHMARK_DESC= Install benchmark (it is always built)
|
||||
EXTRA_SAFETY_CHECKS_DESC=Trade performance for run-time checks
|
||||
INDEXED_COUPONS_DESC= Use indexed rather than par coupons
|
||||
|
@ -12,7 +12,6 @@ COMMENT= UDP server capable of handling netdump transfers
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
IGNORE_FreeBSD_10= Depends on libcasper
|
||||
BROKEN_powerpc64= fails to build: netdumpd.c:270: warning: declaration of 'index' shadows a global declaration
|
||||
|
||||
MAKE_ARGS+= BINDIR=${PREFIX}/sbin
|
||||
|
@ -43,16 +43,10 @@ PLIST_FILES= bin/${PORTNAME} \
|
||||
|
||||
.include "${.CURDIR}/../doom-data/Makefile.include"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1100000 && ${MACHINE_ARCH} == "i386"
|
||||
STRIP= # 10.4/i386 strip(1) is incapable of stripping the gzdoom binary
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${CONFIGURE_WRKSRC}/${PORTNAME}.pk3 ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,8 +15,6 @@ LIB_DEPENDS= libphysfs.so:devel/physfs \
|
||||
libcurl.so:ftp/curl \
|
||||
libvorbis.so:audio/libvorbis
|
||||
|
||||
BROKEN_FreeBSD_10= does not build on 10.x
|
||||
|
||||
LLD_UNSAFE= yes
|
||||
USE_SDL= sdl2 image2
|
||||
USE_GL= glew
|
||||
|
@ -15,7 +15,6 @@ LICENSE= GPLv2 GPLv3
|
||||
LICENSE_COMB= dual
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_FreeBSD_10= fails to build with boost 1.66, see bug 224130
|
||||
BROKEN_powerpc64= fails to link: schema_validator.cpp: undefined reference to boost::match_results
|
||||
|
||||
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
||||
|
@ -17,15 +17,6 @@ NO_ARCH= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
|
||||
post-extract:
|
||||
# chmod -R bug.
|
||||
# Do not use "-exec ... +", because of the same bug, it will not work.
|
||||
@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@cd ${WRKSRC}/htmlI/PartAT/volumetrics/gfx/ && \
|
||||
${RM} -r "Nuova cartella" "Nuova cartella (2)"
|
||||
@ -34,4 +25,4 @@ do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "htmlI htmlII" ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,7 +13,6 @@ COMMENT= 3D point cloud processing software
|
||||
LICENSE= GPLv2+ LGPL20+
|
||||
LICENSE_COMB= multi
|
||||
|
||||
BROKEN_FreeBSD_10= error: "SSE instruction set not enabled"
|
||||
BROKEN_aarch64= fails to compile: mmintrin.h:47:5: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
|
||||
|
||||
USES= cmake:outsource localbase:ldflags qt:5
|
||||
|
@ -22,9 +22,7 @@ RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-legacy-kmod
|
||||
IGNORE= legacy kmod not required on less than 12.0
|
||||
.endif
|
||||
.else
|
||||
.if ${OSVERSION} < 1101510
|
||||
IGNORE= not supported on 11.1 or older, no kernel support
|
||||
.elif ${OSVERSION} >= 1101510 && ${OSVERSION} < 1200000
|
||||
.if ${OSVERSION} >= 1101510 && ${OSVERSION} < 1200000
|
||||
RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-stable-kmod
|
||||
.elif ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200045
|
||||
IGNORE= not supported on older 12, no kernel support
|
||||
|
@ -29,9 +29,6 @@ GH_TAGNAME= b545cc4
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101511
|
||||
IGNORE= not supported on 11.1 or older, no kernel support
|
||||
.endif
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200058
|
||||
IGNORE= not supported on older CURRENT, no kernel support
|
||||
.endif
|
||||
|
@ -29,9 +29,6 @@ GH_TAGNAME= ef4d156
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101510
|
||||
IGNORE= not supported on 11.1 or older, no kernel support
|
||||
.endif
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200045
|
||||
IGNORE= not supported on older CURRENT, no kernel support
|
||||
.endif
|
||||
|
@ -35,16 +35,12 @@ PLIST_FILES= bin/dspdfviewer \
|
||||
|
||||
# Build fails with LLVM 4.0. Reported upstream as #191:
|
||||
# https://github.com/dannyedel/dspdfviewer/issues/191
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100511
|
||||
CFLAGS+= -Wno-error=undefined-func-template
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200039
|
||||
CFLAGS+= -Wno-error=zero-as-null-pointer-constant
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1102000
|
||||
CFLAGS+= -Wno-error=redundant-parens
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -35,11 +35,7 @@ CONFIGURE_ENV+= have_xmlto=no
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD
|
||||
. if ${OSVERSION} >= 1100072
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-unbundle-reallocarray
|
||||
. else
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray
|
||||
. endif
|
||||
.elif ${OPSYS} == DragonFly
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray-dfly
|
||||
.endif
|
||||
|
@ -1,24 +0,0 @@
|
||||
--- lib/dgif_lib.c.orig 2016-04-02 15:34:00 UTC
|
||||
+++ lib/dgif_lib.c
|
||||
@@ -41,6 +41,9 @@ static int DGifDecompressInput(GifFileTy
|
||||
static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf,
|
||||
GifByteType *NextByte);
|
||||
|
||||
+extern void *
|
||||
+reallocarray(void *optr, size_t nmemb, size_t size) __hidden;
|
||||
+
|
||||
/******************************************************************************
|
||||
Open a new GIF file for read, given by its name.
|
||||
Returns dynamically allocated GifFileType pointer which serves as the GIF
|
||||
--- lib/gifalloc.c.orig 2015-07-13 04:05:46 UTC
|
||||
+++ lib/gifalloc.c
|
||||
@@ -12,6 +12,9 @@
|
||||
|
||||
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
||||
|
||||
+extern void *
|
||||
+reallocarray(void *optr, size_t nmemb, size_t size) __hidden;
|
||||
+
|
||||
/******************************************************************************
|
||||
Miscellaneous utility functions
|
||||
******************************************************************************/
|
@ -1,7 +0,0 @@
|
||||
On FreeBSD 10.4 gimp can cause the following error.
|
||||
|
||||
(script-fu:3985): LibGimp-ERROR **: shmat() failed: Invalid argument
|
||||
Could not attach to gimp shared memory segment
|
||||
|
||||
This can be fixed by setting kern.ipc.shm_allow_removed=1 in /etc/sysctl.conf.
|
||||
FreeBSD 11.0-R and newer have this set by default.
|
@ -26,7 +26,6 @@ OPTIONS_DEFAULT=X11
|
||||
PLATFORM_DESC= Window creation platform
|
||||
OPTIONS_SINGLE= PLATFORM
|
||||
OPTIONS_SINGLE_PLATFORM= WAYLAND X11
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= WAYLAND # needs dev/evdev/input.h
|
||||
|
||||
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
|
||||
WAYLAND_CMAKE_BOOL= GLFW_USE_WAYLAND
|
||||
|
@ -26,9 +26,6 @@ GH_TAGNAME= da173cc
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101510
|
||||
IGNORE= not supported on 11.1 or older, no kernel support
|
||||
.endif
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200019
|
||||
IGNORE= not supported on older CURRENT, no kernel support
|
||||
.endif
|
||||
|
@ -255,10 +255,8 @@ post-patch:
|
||||
${REINPLACE_CMD} -e 's|GTS_LIBS)|GTS_LIBS) $$(MATH_LIBS)|' \
|
||||
${WRKSRC}/cmd/smyrna/Makefile.in
|
||||
${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
|
||||
${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
|
||||
${WRKSRC}/lib/sfio/*.[ch]
|
||||
.endif
|
||||
|
||||
post-patch-DOCS-off:
|
||||
${REINPLACE_CMD} -e 's| install-txtDATA$$||' \
|
||||
|
@ -20,9 +20,6 @@ USE_GNOME= glib20
|
||||
OPTIONS_DEFINE= PERL PROXY SOCKS BOT DOCS TRUECOLOR CAPSICUM
|
||||
OPTIONS_DEFAULT= PERL CAPSICUM
|
||||
|
||||
# If we're on FreeBSD 10 don't offer the Capsicum option.
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= CAPSICUM
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
SOCKS_DESC= Socks proxy support
|
||||
SOCKS_CONFIGURE_WITH= socks
|
||||
|
@ -58,9 +58,6 @@ BOOTSTRAP_PATH= crystal-0.25.0-freebsd11.2
|
||||
IGNORE= prebuilt bootstrap for aarch64 only exists for 12-CURRENT
|
||||
. endif
|
||||
.endif
|
||||
.if ${OSVERSION} < 1100000
|
||||
IGNORE= not supported on 10.x or older
|
||||
.endif
|
||||
.if ${OPSYS} != FreeBSD
|
||||
IGNORE= not supported on anything but FreeBSD
|
||||
.endif
|
||||
|
@ -44,7 +44,6 @@ OPTIONS_EXCLUDE+= DTRACE
|
||||
.endif
|
||||
|
||||
OPTIONS_EXCLUDE_DragonFly= HIPE SCTP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
@ -76,7 +75,7 @@ WX_VARS= USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
|
||||
.if ${OPSYS} == FreeBSD
|
||||
CFLAGS+= -DMAP_NORESERVE=0
|
||||
.endif
|
||||
|
||||
|
@ -44,7 +44,6 @@ OPTIONS_EXCLUDE+= DTRACE
|
||||
.endif
|
||||
|
||||
OPTIONS_EXCLUDE_DragonFly= HIPE SCTP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
@ -76,7 +75,7 @@ WX_VARS= USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
|
||||
.if ${OPSYS} == FreeBSD
|
||||
CFLAGS+= -DMAP_NORESERVE=0
|
||||
.endif
|
||||
|
||||
|
@ -58,7 +58,6 @@ OPTIONS_EXCLUDE+= DTRACE
|
||||
.endif
|
||||
|
||||
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
|
||||
OPTIONS_EXCLUDE_aarch64= DTRACE
|
||||
OPTIONS_EXCLUDE_armv6= DTRACE
|
||||
@ -99,7 +98,7 @@ WX_VARS= USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
|
||||
.if ${OPSYS} == FreeBSD
|
||||
CFLAGS+= -DMAP_NORESERVE=0
|
||||
.endif
|
||||
|
||||
|
@ -59,7 +59,6 @@ OPTIONS_EXCLUDE+= DTRACE
|
||||
.endif
|
||||
|
||||
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
|
||||
OPTIONS_EXCLUDE_aarch64= DTRACE
|
||||
OPTIONS_EXCLUDE_armv6= DTRACE
|
||||
@ -100,7 +99,7 @@ WX_VARS= USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
|
||||
.if ${OPSYS} == FreeBSD
|
||||
CFLAGS+= -DMAP_NORESERVE=0
|
||||
.endif
|
||||
|
||||
|
@ -62,7 +62,6 @@ OPTIONS_EXCLUDE+= DTRACE
|
||||
.endif
|
||||
|
||||
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
|
||||
OPTIONS_EXCLUDE_aarch64= DTRACE
|
||||
OPTIONS_EXCLUDE_armv6= DTRACE
|
||||
@ -103,7 +102,7 @@ WX_VARS= USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
|
||||
.if ${OPSYS} == FreeBSD
|
||||
CFLAGS+= -DMAP_NORESERVE=0
|
||||
.endif
|
||||
|
||||
|
@ -66,7 +66,6 @@ OPTIONS_EXCLUDE+= DTRACE
|
||||
# respectively)" you probably misconfigured DTrace in some way.
|
||||
|
||||
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
|
||||
OPTIONS_EXCLUDE_aarch64= DTRACE
|
||||
OPTIONS_EXCLUDE_armv6= DTRACE
|
||||
@ -103,7 +102,7 @@ WX_VARS= USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
|
||||
.if ${OPSYS} == FreeBSD
|
||||
CFLAGS+= -DMAP_NORESERVE=0
|
||||
.endif
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user