aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/qbittorrent
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-11-24 19:23:01 +0800
committerdanfe <danfe@FreeBSD.org>2012-11-24 19:23:01 +0800
commit382414d644c62bd80c21528785209a9d6847382f (patch)
tree32c440fe243ce655811733b84568a40533e5912d /net-p2p/qbittorrent
parent947763390b2e47bec060a637d04aadd54cd92e7b (diff)
downloadfreebsd-ports-gnome-382414d644c62bd80c21528785209a9d6847382f.tar.gz
freebsd-ports-gnome-382414d644c62bd80c21528785209a9d6847382f.tar.zst
freebsd-ports-gnome-382414d644c62bd80c21528785209a9d6847382f.zip
Fix the check of qputenv() return value (already patched upstream).
Feature safe: yes
Diffstat (limited to 'net-p2p/qbittorrent')
-rw-r--r--net-p2p/qbittorrent/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index be9e64dbf6ff..25c748b562cf 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -38,6 +38,9 @@ USE_QT4+= dbus
CONFIGURE_ARGS+= --disable-qt-dbus
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,qputenv,!&,' ${WRKSRC}/src/main.cpp
+
post-install:
.if !defined(QB_NOX_SLAVE)
@${STRIP_CMD} ${PREFIX}/bin/qbittorrent