diff options
author | roam <roam@FreeBSD.org> | 2002-12-05 10:45:33 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2002-12-05 10:45:33 +0000 |
commit | 1ed484acdae9d0e0e237f0cad482d8c7d9617fa3 (patch) | |
tree | 15302953cec527b17b7a35ce0102e00a5b586be8 /multimedia | |
parent | b6482f56c63535480dc75057a0f81d6956f67d56 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | multimedia/mplayer/Makefile | 3 |
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 |