summaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/Makefile
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2002-12-05 10:45:33 +0000
committerroam <roam@FreeBSD.org>2002-12-05 10:45:33 +0000
commit1ed484acdae9d0e0e237f0cad482d8c7d9617fa3 (patch)
tree15302953cec527b17b7a35ce0102e00a5b586be8 /multimedia/mplayer/Makefile
parentb6482f56c63535480dc75057a0f81d6956f67d56 (diff)
downloadFreeBSD-ports-1ed484acdae9d0e0e237f0cad482d8c7d9617fa3.zip
FreeBSD-ports-1ed484acdae9d0e0e237f0cad482d8c7d9617fa3.tar.gz
Constrict the build to ${WRKDIR}: force ${WRKSRC} as the temporary
directory used for creating test executable files in the configure phase. Previously, the port examined the TMPDIR and TEMPDIR variables, and, if they were not set, used /tmp; this goes against the grain of the limit-to-WRKDIR policy, and also plain does not work if /tmp is mounted with the 'noexec' flag. Approved by: maintainer, portmgr (kris)
Diffstat (limited to 'multimedia/mplayer/Makefile')
-rw-r--r--multimedia/mplayer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 13a1a48..f1a4d8e 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -30,7 +30,8 @@ USE_GMAKE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS=${PTHREAD_LIBS}
+ PTHREAD_LIBS=${PTHREAD_LIBS} \
+ TMPDIR="${WRKSRC}"
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
--with-extraincdir=${LOCALBASE}/include \
--disable-vidix
OpenPOWER on IntegriCloud