aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-01-15 07:43:54 +0800
committerdougb <dougb@FreeBSD.org>2011-01-15 07:43:54 +0800
commit210cc90e2a7155fbd2b836c4ba6132bc44eea888 (patch)
tree3f8637371d5f49a78f656211d64565a4eda06c00
parentca508ff8a7c2951c3f078705c3f3c2de5d64c093 (diff)
downloadfreebsd-ports-graphics-210cc90e2a7155fbd2b836c4ba6132bc44eea888.tar.gz
freebsd-ports-graphics-210cc90e2a7155fbd2b836c4ba6132bc44eea888.tar.zst
freebsd-ports-graphics-210cc90e2a7155fbd2b836c4ba6132bc44eea888.zip
2 fixes that are actually for the -nox11 slave:
1. Fix MASTER_SITES so the slave can fetch 2. Apply cL3vRr h4x to avoid the dbus dependency Reported by: Dmitry Kolosov <onyx@z-up.ru> Feature safe: yes
-rw-r--r--net-p2p/qbittorrent-26/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/qbittorrent-26/Makefile b/net-p2p/qbittorrent-26/Makefile
index 465e8585a09..5908b4098fe 100644
--- a/net-p2p/qbittorrent-26/Makefile
+++ b/net-p2p/qbittorrent-26/Makefile
@@ -9,7 +9,7 @@ PORTNAME= qbittorrent
PORTVERSION= 2.6.2
PORTREVISION?= 0
CATEGORIES= net-p2p ipv6
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PKGNAME}/
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
MAINTAINER= dougb@FreeBSD.org
COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar
@@ -53,6 +53,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$$$PREFIX/share/man|${MANPREFIX}/man|' \
${WRKSRC}/unixconf.pri
@${ECHO_CMD} "LIBS+= -lexecinfo" >> ${WRKSRC}/src/src.pro
+.if defined(QB26_NOX_SLAVE)
+ @${REINPLACE_CMD} -e 's|Q_WS_X11|BLAHBLAHBLAH|g' \
+ ${WRKSRC}/src/misc.cpp
+ @${REINPLACE_CMD} -e 's|^QT.*+=.*dbus.*||' \
+ ${WRKSRC}/unixconf.pri
+.endif
post-install:
.if !defined(QB26_NOX_SLAVE)