summaryrefslogtreecommitdiff
path: root/graphics/mplayer-share
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-28 07:00:45 +0000
committerjlam <jlam@pkgsrc.org>2002-08-28 07:00:45 +0000
commit1b2f7013b853025b2f8465c86775fb54a090a21a (patch)
tree645ac2c3702084b4a1e47f69de378561898064bd /graphics/mplayer-share
parent9f6ae1c4bf3e471d5d20d8d1b49630bba37a0d41 (diff)
downloadpkgsrc-1b2f7013b853025b2f8465c86775fb54a090a21a.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'graphics/mplayer-share')
-rw-r--r--graphics/mplayer-share/Makefile.common8
-rw-r--r--graphics/mplayer-share/Makefile.depends31
2 files changed, 19 insertions, 20 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common
index 513915142a1..f21ab9e42ed 100644
--- a/graphics/mplayer-share/Makefile.common
+++ b/graphics/mplayer-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2002/08/07 12:53:06 veego Exp $
+# $NetBSD: Makefile.common,v 1.8 2002/08/28 07:00:47 jlam Exp $
MPLAYER_DIST_VERSION= 0.90pre6
@@ -35,16 +35,12 @@ HAS_CONFIGURE= YES
PTHREAD_OPTS+= require
CONFIGURE_ARGS+= --prefix="${PREFIX}"
-CONFIGURE_ARGS+= --with-extraincdir="${BUILDLINK_DIR}/include"
+CONFIGURE_ARGS+= --with-extraincdir="${LOCALBASE}/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
# TMPDIR to ${WRKDIR}
diff --git a/graphics/mplayer-share/Makefile.depends b/graphics/mplayer-share/Makefile.depends
index 614cd721009..164085e9563 100644
--- a/graphics/mplayer-share/Makefile.depends
+++ b/graphics/mplayer-share/Makefile.depends
@@ -1,25 +1,28 @@
-# $NetBSD: Makefile.depends,v 1.3 2002/08/07 12:53:06 veego Exp $
+# $NetBSD: Makefile.depends,v 1.4 2002/08/28 07:00:48 jlam Exp $
DEPENDS+= mplayer-share-${MPLAYER_PKG_VERSION}${PKGREVISION:Dnb${PKGREVISION}}:../../graphics/mplayer-share
+.include "../../lang/gcc/Makefile.gcc"
+
.if (${OPSYS} == "NetBSD")
-.include "../../devel/binutils/buildlink.mk"
+. include "../../devel/binutils/buildlink2.mk"
.endif
.if ${MACHINE_ARCH} == "i386"
DEPENDS+= win32-codecs>=011227:../../graphics/win32-codecs
-.if ${MPLAYER_USE_REALMEDIA} == "YES"
+. if ${MPLAYER_USE_REALMEDIA} == "YES"
DEPENDS+= realplayer>=8:../../audio/realplayer
-.endif
+. endif
.endif
-.include "../../audio/mad/buildlink.mk"
-.include "../../devel/SDL/buildlink.mk"
-.include "../../graphics/jpeg/buildlink.mk"
-.include "../../graphics/libungif/buildlink.mk"
-.include "../../graphics/png/buildlink.mk"
-.include "../../lang/gcc/Makefile.gcc"
-.include "../../misc/libdvdread/buildlink.mk"
-.include "../../mk/ossaudio.buildlink.mk"
-.include "../../mk/pthread.buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
+USE_X11= # defined
+
+.include "../../audio/mad/buildlink2.mk"
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/libungif/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../misc/libdvdread/buildlink2.mk"
+
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"