ports/multimedia/ffmpeg-devel/files/patch-Makefile
Mario Sergio Fujikawa Ferreira d52139f9a6 o Update to 2006032300 cvs snapshot made on March 23, 2006
o Properly USE_RC_SUBR directive by poiting it at a rc.d script
  template
o Take care of some problems raised by portlint(1)
2006-03-24 13:53:05 +00:00

31 lines
1,012 B
Text

--- Makefile.orig Wed Mar 15 21:15:07 2006
+++ Makefile Thu Mar 23 14:49:50 2006
@@ -59,7 +59,7 @@
OBJS = ffmpeg.o ffserver.o cmdutils.o $(FFPLAY_O)
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
-FFLIBS = -L./libavformat -lavformat$(BUILDSUF) -L./libavcodec -lavcodec$(BUILDSUF) -L./libavutil -lavutil$(BUILDSUF)
+FFLIBS = -L./libavutil -lavutil$(BUILDSUF) -L./libavformat -lavformat$(BUILDSUF) -L./libavcodec -lavcodec$(BUILDSUF)
all: lib $(PROG_G) $(PROG) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC)
@@ -118,8 +118,7 @@
else
install-progs: $(PROG)
endif
- install -d "$(bindir)"
- install -c $(INSTALLSTRIP) -m 755 $(PROG) "$(bindir)"
+ ${BSD_INSTALL_PROGRAM} $(PROG) "$(bindir)"
# create the window installer
wininstaller: all install
@@ -129,8 +128,7 @@
install-man:
ifneq ($(CONFIG_WIN32),yes)
if [ -f doc/ffmpeg.1 ] ; then \
- install -d "$(mandir)/man1" ; \
- install -m 644 $(MANPAGE) "$(mandir)/man1" ; \
+ ${BSD_INSTALL_MAN} $(MANPAGE) "${MANPREFIX}/man/man1" ; \
fi
endif