2007-04-08 13:33:39 -04:00
|
|
|
$OpenBSD: patch-Makefile,v 1.13 2007/04/08 17:33:39 ajacoutot Exp $
|
|
|
|
--- Makefile.orig Sun Apr 8 10:17:01 2007
|
|
|
|
+++ Makefile Sun Apr 8 10:17:01 2007
|
|
|
|
@@ -429,7 +429,7 @@ LIBS_MENCODER = libmpcodecs/libmpencoders.a \
|
2006-07-19 17:40:47 -04:00
|
|
|
$(LIBC_LIB) \
|
2004-10-18 02:48:08 -04:00
|
|
|
|
2003-05-18 07:49:55 -04:00
|
|
|
$(PRG_MENCODER): $(MENCODER_DEP)
|
2006-07-19 17:40:47 -04:00
|
|
|
- $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
|
|
|
|
+ $(CXX) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
|
2003-05-18 07:49:55 -04:00
|
|
|
endif
|
|
|
|
|
2004-05-06 03:27:36 -04:00
|
|
|
codecs.conf.h: $(PRG_CFG) etc/codecs.conf
|
2007-04-08 13:33:39 -04:00
|
|
|
@@ -488,8 +488,6 @@ ifeq ($(GUI),yes)
|
2006-07-19 17:40:47 -04:00
|
|
|
@$(INSTALL) -d $(prefix)/share/applications
|
2005-03-09 11:07:29 -05:00
|
|
|
$(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/mplayer.desktop
|
2003-10-26 14:54:46 -05:00
|
|
|
endif
|
2006-07-19 17:40:47 -04:00
|
|
|
- @$(INSTALL) -d $(CONFDIR)
|
2003-10-26 14:54:46 -05:00
|
|
|
- @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
|
2006-07-19 17:40:47 -04:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
-rm -f $(BINDIR)/$(PRG) $(BINDIR)/gmplayer $(MANDIR)/man1/mplayer.1
|