aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2006-04-03 17:34:22 +0800
committerlofi <lofi@FreeBSD.org>2006-04-03 17:34:22 +0800
commita54cd2e57711fe6c08d2789a8ca8107509972b2f (patch)
treed93a83515fc52ddd8c0533430fc5cfe3f412c0a6 /Mk
parentf6faad9b532dd94907f2edec89eb86bb18a4e511 (diff)
downloadfreebsd-ports-gnome-a54cd2e57711fe6c08d2789a8ca8107509972b2f.tar.gz
freebsd-ports-gnome-a54cd2e57711fe6c08d2789a8ca8107509972b2f.tar.zst
freebsd-ports-gnome-a54cd2e57711fe6c08d2789a8ca8107509972b2f.zip
Set TMPDIR for all users of uic in order to avoid spamming files outside
WRKDIR.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde.mk5
-rw-r--r--Mk/bsd.kde4.mk5
2 files changed, 10 insertions, 0 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index 5a66460a85ee..135dc92c5bba 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -114,6 +114,11 @@ QTCPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include \
-I${QT_PREFIX}/include -D_GETOPT_H
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
-L${QT_PREFIX}/lib
+.if defined(PACKAGE_BUILDING)
+TMPDIR?= /tmp
+MAKE_ENV+= TMPDIR=${TMPDIR}
+.endif
+
.if !defined(QT_NONSTANDARD)
CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
--with-qt-libraries=${QT_PREFIX}/lib \
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 5a66460a85ee..135dc92c5bba 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -114,6 +114,11 @@ QTCPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include \
-I${QT_PREFIX}/include -D_GETOPT_H
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
-L${QT_PREFIX}/lib
+.if defined(PACKAGE_BUILDING)
+TMPDIR?= /tmp
+MAKE_ENV+= TMPDIR=${TMPDIR}
+.endif
+
.if !defined(QT_NONSTANDARD)
CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
--with-qt-libraries=${QT_PREFIX}/lib \