summaryrefslogtreecommitdiff
path: root/graphics/mplayer
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2002-01-21 15:24:49 +0000
committerzuntum <zuntum@pkgsrc.org>2002-01-21 15:24:49 +0000
commite486f14da7fb39b763e295cc9020c76bda35f329 (patch)
treef4ba8c17cb5192961ab4767fbfac126d15a4e4fb /graphics/mplayer
parent095e0fabfa95e2d064ae531394520839934e09f6 (diff)
downloadpkgsrc-e486f14da7fb39b763e295cc9020c76bda35f329.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>
Diffstat (limited to 'graphics/mplayer')
-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