FreeBSD Bugzilla – Attachment 94283 Details for
Bug 132407
[patch] pass TMPDIR around
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pass-TMPDIR.diff
pass-TMPDIR.diff (text/plain), 1.33 KB, created by
Eygene Ryabinkin
on 2009-03-08 12:40:02 UTC
(
hide
)
Description:
pass-TMPDIR.diff
Filename:
MIME Type:
Creator:
Eygene Ryabinkin
Created:
2009-03-08 12:40:02 UTC
Size:
1.33 KB
patch
obsolete
>From 706d969f0f516968733038d790143c35d378a2a0 Mon Sep 17 00:00:00 2001 >From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> >Date: Sun, 8 Mar 2009 15:15:01 +0300 > >ffmpeg wants to put executables to the $TMPDIR or /tmp (the latter is >the default). If I run /tmp with noexec, then configure whines and >refuses to work, so port build fails. Doing 'TMPDIR=/var/tmp make >install clean' is fine, but I want to update ports via 'portupgrade -a', >so the most appropriate place to put TMPDIR is /etc/make.conf. >Unfortunately, this doesn't work as-is: some support from the port >itself is needed and it was added in this commit. > >Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> >--- > multimedia/ffmpeg/Makefile | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile >index 75a5f06..96988f9 100644 >--- a/multimedia/ffmpeg/Makefile >+++ b/multimedia/ffmpeg/Makefile >@@ -228,6 +228,12 @@ CONFIGURE_ARGS+= --enable-libxvid > CONFIGURE_ARGS+= --disable-libxvid > .endif > >+## Pass TMPDIR down to the configure and make. >+.ifdef(TMPDIR) >+CONFIGURE_ENV+= TMPDIR=${TMPDIR} >+MAKE_ENV+= TMPDIR=${TMPDIR} >+.endif # TMPDIR >+ > pre-configure: > .if defined(WITHOUT_OGG) && (!defined(WITHOUT_VORBIS) || !defined(WITHOUT_THEORA)) > @${ECHO_MSG} WITH_VORBIS or WITH_THEORA defined, libogg will be built >-- >1.6.1.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132407
: 94283 |
94284