1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

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
This commit is contained in:
Doug Barton 2011-01-14 23:43:54 +00:00
parent c2e2b430f9
commit 9774f163de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267806

View File

@ -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)