59001cbfbf
this version of mplayer now uses gtk2; ok biorn@ and tested by many
22 lines
862 B
Plaintext
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
|