openbsd-ports/x11/mplayer/patches/patch-Makefile
robert 59001cbfbf update to versio 1.0pre8; include the speex and mpcdec codecs by default;
this version of mplayer now uses gtk2;

ok biorn@ and tested by many
2006-07-19 21:40:47 +00:00

22 lines
862 B
Plaintext

$OpenBSD: patch-Makefile,v 1.12 2006/07/19 21:40:47 robert Exp $
--- Makefile.orig Sun Jun 11 20:35:47 2006
+++ Makefile Thu Jul 6 00:08:11 2006
@@ -426,7 +426,7 @@ LIBS_MENCODER = libmpcodecs/libmpencoder
$(LIBC_LIB) \
$(PRG_MENCODER): $(MENCODER_DEP)
- $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
+ $(CXX) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
endif
codecs.conf.h: $(PRG_CFG) etc/codecs.conf
@@ -485,8 +485,6 @@ ifeq ($(GUI),yes)
@$(INSTALL) -d $(prefix)/share/applications
$(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/mplayer.desktop
endif
- @$(INSTALL) -d $(CONFDIR)
- @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
uninstall:
-rm -f $(BINDIR)/$(PRG) $(BINDIR)/gmplayer $(MANDIR)/man1/mplayer.1