From 1ed484acdae9d0e0e237f0cad482d8c7d9617fa3 Mon Sep 17 00:00:00 2001 From: roam Date: Thu, 5 Dec 2002 10:45:33 +0000 Subject: 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) --- multimedia/mplayer/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'multimedia/mplayer/Makefile') 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 -- cgit v1.1