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:
parent
4934894ccc
commit
fb967c21c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235573
@ -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 \
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user