diff --git a/sysutils/mstflint/Makefile b/sysutils/mstflint/Makefile index 37eeb5fbc4df..4e720e64dff5 100644 --- a/sysutils/mstflint/Makefile +++ b/sysutils/mstflint/Makefile @@ -1,56 +1,55 @@ PORTNAME= mstflint DISTVERSIONPREFIX= v DISTVERSION= 4.25.0-1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= olivier@FreeBSD.org COMMENT= Firmware Burning and Diagnostics Tools for Mellanox devices WWW= https://github.com/Mellanox/mstflint LICENSE= BSD2CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE USES= autoreconf gmake libtool localbase:ldflags pkgconfig ssl USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= Mellanox GNU_CONFIGURE= yes OPTIONS_DEFINE= FWMANAGER ADAB OPTIONS_SUB= yes ADAB_DESC= Build with mstreg and mstlink FWMANAGER_DESC= Build with mstfwmanager and mstarchive STATIC_DESC= Static binary (disable curl support) ADAB_CONFIGURE_ON= --enable-adb-generic-tools ADAB_BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_regex.a:devel/boost-libs ADAB_LIB_DEPENDS= libexpat.so:textproc/expat2 FWMANAGER_CONFIGURE_ON= --enable-fw-mgr FWMANAGER_BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_regex.a:devel/boost-libs FWMANAGER_LIB_DEPENDS= libcurl.so:ftp/curl \ libxml2.so.2:textproc/libxml2 post-patch: @${ECHO} '#define TOOLS_GIT_SHA "N/A"' > ${WRKSRC}/common/gitversion.h @${MKDIR} ${WRKSRC}/config # ADAB and FWMANAGER options depends of libboost, so statically link this # lib to avoid installing 220MB of lib dependency. ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/mlxlink/Makefile.am \ ${WRKSRC}/mlxarchive/Makefile.am \ ${WRKSRC}/mlxreg/Makefile.am -RUN_DEPENDS+= ca_root_nss>=0:security/ca_root_nss - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mstflint/python_tools/rreg_access.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mstflint/python_tools/ccmdif.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mstflint/python_tools/cmtcr.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mstflint/python_tools/c_dev_mgt.so .include