Lines 12-22
WWW= https://botan.randombit.net/
Link Here
|
12 |
LICENSE= BSD2CLAUSE |
12 |
LICENSE= BSD2CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/license.txt |
13 |
LICENSE_FILE= ${WRKSRC}/license.txt |
14 |
|
14 |
|
15 |
BROKEN_amd64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136 |
|
|
16 |
BROKEN_aarch64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136 |
17 |
BROKEN_FreeBSD_13= compilation fails: no member named 'find' in namespace 'std::ranges' |
15 |
BROKEN_FreeBSD_13= compilation fails: no member named 'find' in namespace 'std::ranges' |
18 |
|
16 |
|
19 |
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs |
17 |
BUILD_DEPENDS= ${LOCALBASE}/include/boost/asio.hpp:devel/boost-libs |
20 |
|
18 |
|
21 |
USES= compiler:c++20-lang cpe gmake shebangfix tar:xz |
19 |
USES= compiler:c++20-lang cpe gmake shebangfix tar:xz |
22 |
CPE_VENDOR= ${PORTNAME}_project |
20 |
CPE_VENDOR= ${PORTNAME}_project |
Lines 27-32
SHEBANG_GLOB= *.py
Link Here
|
27 |
HAS_CONFIGURE= yes |
25 |
HAS_CONFIGURE= yes |
28 |
CONFIGURE_SCRIPT= configure.py |
26 |
CONFIGURE_SCRIPT= configure.py |
29 |
CONFIGURE_ARGS= --cc=${CHOSEN_COMPILER_TYPE} \ |
27 |
CONFIGURE_ARGS= --cc=${CHOSEN_COMPILER_TYPE} \ |
|
|
28 |
${"${CCACHE_BIN}" != "":?--compiler-cache=${CCACHE_BIN}:} \ |
30 |
--prefix=${PREFIX:Q} \ |
29 |
--prefix=${PREFIX:Q} \ |
31 |
--with-boost \ |
30 |
--with-boost \ |
32 |
--with-bzip2 \ |
31 |
--with-bzip2 \ |
Lines 35-40
CONFIGURE_ARGS= --cc=${CHOSEN_COMPILER_TYPE} \
Link Here
|
35 |
--with-lzma \ |
34 |
--with-lzma \ |
36 |
--with-zlib \ |
35 |
--with-zlib \ |
37 |
--program-suffix=${_BOTANMAJOR} |
36 |
--program-suffix=${_BOTANMAJOR} |
|
|
37 |
TEST_TARGET= check |
38 |
LDFLAGS+= -pthread |
38 |
LDFLAGS+= -pthread |
39 |
|
39 |
|
40 |
DOCSDIR= ${LOCALBASE}/share/doc/${PORTNAME}-${PORTVERSION} |
40 |
DOCSDIR= ${LOCALBASE}/share/doc/${PORTNAME}-${PORTVERSION} |
Lines 84-92
PLIST_SUB+= HAS_PROCESSOR_RNG=""
Link Here
|
84 |
PLIST_SUB+= HAS_PROCESSOR_RNG="@comment " |
84 |
PLIST_SUB+= HAS_PROCESSOR_RNG="@comment " |
85 |
.endif |
85 |
.endif |
86 |
|
86 |
|
87 |
#.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ) || ${OSVERSION} < 1300000 ) |
87 |
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) ) |
88 |
#USES+= llvm:max=15,min=14 |
88 |
USES+= llvm:max=15,min=14 |
89 |
#.endif |
89 |
.endif |
90 |
|
90 |
|
91 |
post-patch: |
91 |
post-patch: |
92 |
@${REINPLACE_CMD} -e 's|^optimization_flags .*|optimization_flags "${CXXFLAGS}"|' \ |
92 |
@${REINPLACE_CMD} -e 's|^optimization_flags .*|optimization_flags "${CXXFLAGS}"|' \ |
93 |
- |
|
|