summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzuntum <zuntum>2002-01-21 15:24:49 +0000
committerzuntum <zuntum>2002-01-21 15:24:49 +0000
commit0bb8211eedb6b6702faa006b80dcc9b52ea2517e (patch)
treef4ba8c17cb5192961ab4767fbfac126d15a4e4fb
parent03040fd6a09c76beddff67c6b151b7ad1c7d1a77 (diff)
downloadpkgsrc-0bb8211eedb6b6702faa006b80dcc9b52ea2517e.tar.gz
Let mplayer test-compile stuff in ${WRKDIR} instead of /tmp,
because the /tmp can sometime be mounted noexec. Fixes pkg/15320 by David Sainty <dave@dtsp.co.nz>
-rw-r--r--graphics/mplayer/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/mplayer/Makefile b/graphics/mplayer/Makefile
index 1d542398d7d..ee780c4a25b 100644
--- a/graphics/mplayer/Makefile
+++ b/graphics/mplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/01/14 17:43:43 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2002/01/21 15:24:49 zuntum Exp $
DISTNAME= MPlayer-0.60pre1
PKGNAME= mplayer-0.60.0.1
@@ -33,6 +33,10 @@ CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
CONFIGURE_ARGS+= --disable-css
+# The configure script attempts to execute compiled programs in /tmp, but
+# /tmp may be mounted with noexec flag set...
+CONFIGURE_ENV+= TMPDIR=${WRKDIR}
+
post-configure:
${CP} ${FILESDIR}/vcd_read_nbsd.c ${WRKSRC}/libmpdemux/vcd_read_nbsd.h