diff --git a/multimedia/vstream-client/Makefile b/multimedia/vstream-client/Makefile index 38d557f18460..216dcd355f29 100644 --- a/multimedia/vstream-client/Makefile +++ b/multimedia/vstream-client/Makefile @@ -11,7 +11,7 @@ COMMENT= Client library for the Tivo vstream server LICENSE= GPLv2 -USE_BZIP2= yes +USES= tar:bzip2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} @@ -19,7 +19,6 @@ PLIST_FILES= bin/vstream-client \ include/vstream-client.h \ lib/libvstream-client.a -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ 's|$$(INSTALL) -m 755|$${BSD_INSTALL_PROGRAM}| ; \ diff --git a/multimedia/vstream-client/files/patch-Makefile b/multimedia/vstream-client/files/patch-Makefile new file mode 100644 index 000000000000..08231262946a --- /dev/null +++ b/multimedia/vstream-client/files/patch-Makefile @@ -0,0 +1,15 @@ +--- Makefile.orig 2014-06-09 11:10:17.744127904 +0800 ++++ Makefile 2014-06-09 11:10:39.050126273 +0800 +@@ -14,9 +14,9 @@ CFLAGS += $(INCLUDE) + all: $(LIBNAME) vstream-client + + install: $(LIBNAME) vstream-client +- $(INSTALL) -m 755 vstream-client $(BINDIR)/vstream-client +- $(INSTALL) -m 644 $(LIBNAME) $(LIBDIR)/$(LIBNAME) +- $(INSTALL) -m 644 vstream-client.h $(INCDIR)/vstream-client.h ++ $(INSTALL) -m 755 vstream-client $(DESTDIR)$(BINDIR)/vstream-client ++ $(INSTALL) -m 644 $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) ++ $(INSTALL) -m 644 vstream-client.h $(DESTDIR)$(INCDIR)/vstream-client.h + + .c.o: + $(CC) -c $(CFLAGS) -o $@ $<