diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-01-14 23:43:54 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-01-14 23:43:54 +0000 |
commit | 9774f163deaaa039e465c8a1c28f9e98a2f1cf62 (patch) | |
tree | 8f1f1626f9a7f647b9b90fa473e2ef5f5315f18f /net-p2p | |
parent | c2e2b430f96482a7fde734bf2f0cdfc638d75f31 (diff) |
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
Notes
Notes:
svn path=/head/; revision=267806
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/qbittorrent-26/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/qbittorrent-26/Makefile b/net-p2p/qbittorrent-26/Makefile index 465e8585a09d..5908b4098fe0 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) |