diff options
-rw-r--r-- | net-p2p/qtorrent/Makefile | 8 | ||||
-rw-r--r-- | textproc/uim-qt/Makefile | 12 |
2 files changed, 17 insertions, 3 deletions
diff --git a/net-p2p/qtorrent/Makefile b/net-p2p/qtorrent/Makefile index 065f46c..aea50c5 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> diff --git a/textproc/uim-qt/Makefile b/textproc/uim-qt/Makefile index b23df11..0666f02 100644 --- a/textproc/uim-qt/Makefile +++ b/textproc/uim-qt/Makefile @@ -20,8 +20,16 @@ CONFIGURE_ENV= QTDIR=${X11BASE}/lib QTINCDIR=${X11BASE}/include \ UIM_SLAVE= yes +# This is normally handled by defining USE_QT_VER ... + +.if defined(PACKAGE_BUILDING) +TMPDIR?= /tmp +MAKE_ENV+= TMPDIR="${TMPDIR}" +CONFIGURE_ENV+= TMPDIR="${TMPDIR}" +.endif + do-install: - (cd ${WRKSRC}/qt && ${GMAKE} install) - (cd ${WRKSRC}/helper && ${GMAKE} install) + (cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${GMAKE} install) + (cd ${WRKSRC}/helper && ${SETENV} ${MAKE_ENV} ${GMAKE} install) .include "${MASTERDIR}/Makefile" |