summaryrefslogtreecommitdiff
path: root/graphics/mplayer-share
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-06-01 20:31:26 +0000
committerwiz <wiz@pkgsrc.org>2002-06-01 20:31:26 +0000
commitb617684e6a38a3bf0365358f187f460b00a8ee21 (patch)
tree173b5fdff95ef04356c6b4940a4be7c9252b3ae0 /graphics/mplayer-share
parentb7c63c79246329b5763254e8a0264a023d7303fb (diff)
downloadpkgsrc-b617684e6a38a3bf0365358f187f460b00a8ee21.tar.gz
Enable for NetBSD-*-powerpc.
Diffstat (limited to 'graphics/mplayer-share')
-rw-r--r--graphics/mplayer-share/Makefile.common11
1 files changed, 8 insertions, 3 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common
index f920a255436..686137d1ae5 100644
--- a/graphics/mplayer-share/Makefile.common
+++ b/graphics/mplayer-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1.1.1 2002/05/25 07:51:22 veego Exp $
+# $NetBSD: Makefile.common,v 1.2 2002/06/01 20:31:26 wiz Exp $
MPLAYER_DIST_VERSION= 0.90pre4
MPLAYER_PKG_VERSION= ${MPLAYER_DIST_VERSION:S/pre/rc/}
@@ -17,7 +17,7 @@ MAINTAINER?= svs@ropnet.ru,zuntum@netbsd.org
HOMEPAGE?= http://www.mplayerhq.hu/
PATCHDIR= ${.CURDIR}/../../graphics/mplayer-share/patches
-ONLY_FOR_PLATFORM= NetBSD-*-i386
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
RESTRICTED?= "unsure of the license"
# see http://www.mplayerhq.hu/DOCS/users_against_developers.html#binary
@@ -35,7 +35,6 @@ USE_PTHREAD= native pth
CONFIGURE_ARGS+= --prefix="${PREFIX}"
CONFIGURE_ARGS+= --with-extraincdir="${BUILDLINK_DIR}/include"
CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
-CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
#CONFIGURE_ARGS+= --enable-dvdread
CONFIGURE_ARGS+= --disable-mpdvdkit
@@ -44,5 +43,11 @@ CONFIGURE_ARGS+= --disable-mpdvdkit
# TMPDIR to ${WRKDIR}
CONFIGURE_ENV+= TMPDIR=${WRKDIR}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
+.endif
+
.include "../../devel/binutils/buildlink.mk"
.include "../../lang/gcc/Makefile.gcc"