$OpenBSD: patch-Makefile,v 1.15 2007/04/19 08:37:09 ajacoutot Exp $ --- Makefile.orig Thu Apr 19 09:41:02 2007 +++ Makefile Thu Apr 19 09:41:02 2007 @@ -429,7 +429,7 @@ LIBS_MENCODER = libmpcodecs/libmpencoders.a \ $(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 @@ -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