summaryrefslogtreecommitdiff
path: root/net-p2p/qtorrent
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-04-20 21:55:37 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-04-20 21:55:37 +0000
commit883486482af5880773ace92487abb8ed4a67a01d (patch)
treec0b402a38ea4ad95f5493b297dd6b530b7f9e4c5 /net-p2p/qtorrent
parentFix some portlint(1) warnings. (diff)
Ports using Qt without setting USE_QT_VER need environment fixups.
Notes
Notes: svn path=/head/; revision=160044
Diffstat (limited to 'net-p2p/qtorrent')
-rw-r--r--net-p2p/qtorrent/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/qtorrent/Makefile b/net-p2p/qtorrent/Makefile
index 065f46c32f12..aea50c533379 100644
--- a/net-p2p/qtorrent/Makefile
+++ b/net-p2p/qtorrent/Makefile
@@ -22,6 +22,12 @@ USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
+.if defined(PACKAGE_BUILDING)
+TMPDIR?= /tmp
+MAKE_ENV+= TMPDIR="${TMPDIR}"
+CONFIGURE_ENV+= TMPDIR="${TMPDIR}"
+.endif
+
pre-everything::
@${ECHO_MSG} "===>"
@${ECHO_MSG} "===> For qtorrent to work you need to compile"
@@ -30,7 +36,7 @@ pre-everything::
post-patch:
.for i in torrentsettings torrentwindow
- @${LOCALBASE}/bin/pyuic -o ${WRKSRC}/pyqtorrent/${i}.py ${WRKSRC}/pyqtorrent/${i}.ui
+ @${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/pyuic -o ${WRKSRC}/pyqtorrent/${i}.py ${WRKSRC}/pyqtorrent/${i}.ui
.endfor
.include <bsd.port.mk>