1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Pass TMPDIR on to configure and make environments.

PR:		132407
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
This commit is contained in:
Erwin Lansing 2009-06-11 09:09:29 +00:00
parent 4934894ccc
commit fb967c21c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235573
2 changed files with 13 additions and 5 deletions

View File

@ -117,11 +117,6 @@ QTCPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include \
-I${QT_PREFIX}/include -D_GETOPT_H -I${QT_PREFIX}/include -D_GETOPT_H
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg \ QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg \
-L${QT_PREFIX}/lib -L${QT_PREFIX}/lib
.if defined(PACKAGE_BUILDING)
TMPDIR?= /tmp
MAKE_ENV+= TMPDIR="${TMPDIR}"
CONFIGURE_ENV+= TMPDIR="${TMPDIR}"
.endif
.if !defined(QT_NONSTANDARD) .if !defined(QT_NONSTANDARD)
CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \ CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \

View File

@ -1309,6 +1309,19 @@ WITHOUT_${W}:= true
DOS2UNIX_REGEX?= .* DOS2UNIX_REGEX?= .*
# At least KDE needs TMPDIR for the package building,
# so we're setting it to the known default value.
.if defined(PACKAGE_BUILDING)
TMPDIR?= /tmp
.endif # defined(PACKAGE_BUILDING)
# Respect TMPDIR passed via make.conf or similar and pass it down
# to configure and make.
.if defined(TMPDIR)
MAKE_ENV+= TMPDIR="${TMPDIR}"
CONFIGURE_ENV+= TMPDIR="${TMPDIR}"
.endif # defined(TMPDIR)
# Start of pre-makefile section. # Start of pre-makefile section.
.if !defined(AFTERPORTMK) && !defined(INOPTIONSMK) .if !defined(AFTERPORTMK) && !defined(INOPTIONSMK)