summaryrefslogtreecommitdiff
path: root/graphics/mplayer-share/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mplayer-share/Makefile.common')
-rw-r--r--graphics/mplayer-share/Makefile.common18
1 files changed, 11 insertions, 7 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common
index 686137d1ae5..b8cb791031d 100644
--- a/graphics/mplayer-share/Makefile.common
+++ b/graphics/mplayer-share/Makefile.common
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile.common,v 1.2 2002/06/01 20:31:26 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2002/06/08 23:41:56 veego Exp $
-MPLAYER_DIST_VERSION= 0.90pre4
+MPLAYER_DIST_VERSION= 0.90pre5
+
+# There is no need to change anything below here.
+
+# This variable is used in all packages which depend on this package
MPLAYER_PKG_VERSION= ${MPLAYER_DIST_VERSION:S/pre/rc/}
DISTNAME= MPlayer-${MPLAYER_DIST_VERSION}
-PKGREVISION=1
CATEGORIES?= graphics
MASTER_SITES= http://www.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \
@@ -26,7 +29,6 @@ NO_BIN_ON_FTP= ${RESTRICTED}
# no source on the ftp server because of the css source code in it
NO_SRC_ON_FTP= ${RESTRICTED}
-USE_X11= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
@@ -37,6 +39,11 @@ CONFIGURE_ARGS+= --with-extraincdir="${BUILDLINK_DIR}/include"
CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
#CONFIGURE_ARGS+= --enable-dvdread
CONFIGURE_ARGS+= --disable-mpdvdkit
+CONFIGURE_ARGS+= --disable-ossaudio
+
+# Buildlink's ${CFLAGS} setting triggers configure's bozo switch, turning
+# off all the processor-specific optimizations.
+CONFIGURE_ENV+= CFLAGS=""
# The configure script attempts to test-execute compiled programs in /tmp,
# but that directory may be mounted as noexec; work this around by setting
@@ -48,6 +55,3 @@ CONFIGURE_ENV+= TMPDIR=${WRKDIR}
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
.endif
-
-.include "../../devel/binutils/buildlink.mk"
-.include "../../lang/gcc/Makefile.gcc"