From 9695f80b890e225a461f10ff6eb7d81fcf8738eb Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 19 Sep 2010 22:23:32 +0000 Subject: Fix build under Mac OS X with a small change discussed on the "mplayer-dev-eng" mailing list. --- multimedia/mencoder/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'multimedia/mencoder') diff --git a/multimedia/mencoder/Makefile b/multimedia/mencoder/Makefile index 2a782726a68..644b4764469 100644 --- a/multimedia/mencoder/Makefile +++ b/multimedia/mencoder/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2010/09/16 18:56:12 wiz Exp $ +# $NetBSD: Makefile,v 1.49 2010/09/19 22:23:32 tron Exp $ PKGNAME= mencoder-${MPLAYER_VERSION} @@ -12,6 +12,12 @@ PKG_DESTDIR_SUPPORT= user-destdir BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm .endif +# Fix build under Mac OS X, please see here for details: +# http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-May/061515.html +.if ${OPSYS} == "Darwin" +LDFLAGS+= -framework Carbon +.endif + CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer BUILD_TARGET= mencoder -- cgit v1.2.3