git: 3bcd8992ba0b - main - deskutils/pinot: prepare for Boost-1.89, do not link with stub Boost::system (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Oct 2025 11:27:52 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3bcd8992ba0b80b0247df95319e5a85a3e5301c1
commit 3bcd8992ba0b80b0247df95319e5a85a3e5301c1
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-10-02 11:26:59 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-10-02 11:26:59 +0000
deskutils/pinot: prepare for Boost-1.89, do not link with stub Boost::system (+)
Get rid of overlinking on empty stub library Boost::system, it is header-only since boost-1.70
While here, unbreak vuild with curl-1.86+
With hat: office/boost
---
deskutils/pinot/Makefile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile
index 619fcdcd8c97..0ef3964b0e42 100644
--- a/deskutils/pinot/Makefile
+++ b/deskutils/pinot/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pinot
PORTVERSION= 1.22
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= deskutils
MAINTAINER= thierry@FreeBSD.org
@@ -38,7 +38,7 @@ USE_GITHUB= yes
GH_ACCOUNT= FabriceColin
USES= compiler:c++11-lang autoreconf gettext gnome libarchive \
- libtool pkgconfig python shebangfix sqlite:3 ssl xorg
+ libtool localbase pkgconfig python shebangfix sqlite:3 ssl xorg
USE_CXXSTD= c++11
USE_XORG= pixman
USE_GNOME= atkmm cairo cairomm gdkpixbuf glibmm gtk30 gtkmm30 \
@@ -50,8 +50,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-http=curl --with-ssl=${OPENSSLBASE} --enable-libarchive \
--enable-mempool=no --enable-libnotify
CONFIGURE_ENV= MKDIR_P="${MKDIR}" TEXTCAT_LIBS="-lexttextcat-2.0"
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib -lboost_system
OPTIONS_DEFINE= DEBUG CHMLIB DOCS
OPTIONS_SUB= yes
@@ -72,6 +70,10 @@ LM2FIX= Core/pinot-index.cpp Core/pinot-index.1 Makefile.am \
SHR2FIX= Core/pinot-search.1
UL2FIX= Utils/xdgmime/xdgmime.c
+post-patch:
+ @${REINPLACE_CMD} -e 's|CURLPROXY_|(curl_proxytype)CURLPROXY_|g' \
+ ${WRKSRC}/Collect/CurlDownloader.cpp
+
pre-configure:
${REINPLACE_CMD} -e \
'/<command>/s|pdftotext|${LOCALBASE}/libexec/xpdf/pdftotext|' \