summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/pinot/Makefile10
1 files 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|' \