openbsd-ports/x11/mplayer/patches/patch-Makefile

22 lines
870 B
Plaintext
Raw Normal View History

$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 \
$(LIBC_LIB) \
2004-10-18 02:48:08 -04:00
$(PRG_MENCODER): $(MENCODER_DEP)
- $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
+ $(CXX) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
endif
2004-05-06 03:27:36 -04:00
codecs.conf.h: $(PRG_CFG) etc/codecs.conf
@@ -488,8 +488,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