openbsd-ports/x11/mplayer/patches/patch-Makefile
biorn abd23476d9 Finally take it to 1.0pre6a
Prodded by espi@, ok sturm@
2005-03-09 16:07:29 +00:00

22 lines
1.2 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.10 2005/03/09 16:07:29 biorn Exp $
--- Makefile.orig Fri Nov 5 15:02:40 2004
+++ Makefile Sat Dec 25 16:15:14 2004
@@ -249,7 +249,7 @@ mplayer_wine.so: $(MPLAYER_DEP)
ifeq ($(MENCODER),yes)
$(PRG_MENCODER): $(MENCODER_DEP)
- $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) libmpcodecs/libmpencoders.a $(ENCORE_LIB) $(COMMON_LIBS) $(EXTRA_LIB) $(MLIB_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(ARCH_LIB) $(I18NLIBS) $(MATH_LIB)
+ $(CXX) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) libmpcodecs/libmpencoders.a $(ENCORE_LIB) $(COMMON_LIBS) $(EXTRA_LIB) $(MLIB_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(ARCH_LIB) $(I18NLIBS) $(MATH_LIB)
endif
codecs.conf.h: $(PRG_CFG) etc/codecs.conf
@@ -312,8 +312,6 @@ ifeq ($(GUI),yes)
@if test ! -d $(prefix)/share/applications ; then mkdir -p $(prefix)/share/applications ; fi
$(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/mplayer.desktop
endif
- @if test ! -d $(CONFDIR) ; then mkdir -p $(CONFDIR) ; fi
- @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
ifeq ($(DVDKIT_SHARED),yes)
ifeq ($(DVDKIT2),yes)
if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi