Browse Source

rtmpdump: Patch man page placement

android-5
Fredrik Fornwall 9 years ago
parent
commit
dc09fa7c20
  1. 67
      packages/rtmpdump/Makefile.patch

67
packages/rtmpdump/Makefile.patch

@ -1,10 +1,33 @@
diff --git a/Makefile b/Makefile diff -u -r ../rtmpdump-2.3/librtmp/Makefile ./librtmp/Makefile
index 7470eb4..03dd0e9 100644 --- ../rtmpdump-2.3/librtmp/Makefile 2010-06-30 16:01:28.000000000 -0400
--- a/Makefile +++ ./librtmp/Makefile 2016-08-24 09:46:18.124955620 -0400
+++ b/Makefile @@ -1,11 +1,5 @@
VERSION=v2.3
-prefix=/usr/local
-
-CC=$(CROSS_COMPILE)gcc
-LD=$(CROSS_COMPILE)ld
-AR=$(CROSS_COMPILE)ar
-
SYS=posix
CRYPTO=OPENSSL
#CRYPTO=GNUTLS
@@ -44,7 +38,7 @@
incdir=$(prefix)/include/librtmp
bindir=$(prefix)/bin
libdir=$(prefix)/lib
-mandir=$(prefix)/man
+mandir=$(prefix)/share/man
BINDIR=$(DESTDIR)$(bindir)
INCDIR=$(DESTDIR)$(incdir)
LIBDIR=$(DESTDIR)$(libdir)
diff -u -r ../rtmpdump-2.3/Makefile ./Makefile
--- ../rtmpdump-2.3/Makefile 2010-06-30 15:58:35.000000000 -0400
+++ ./Makefile 2016-08-24 09:35:22.150906938 -0400
@@ -1,10 +1,5 @@ @@ -1,10 +1,5 @@
VERSION=v2.3 VERSION=v2.3
-prefix=/usr/local -prefix=/usr/local
- -
-CC=$(CROSS_COMPILE)gcc -CC=$(CROSS_COMPILE)gcc
@ -12,41 +35,29 @@ index 7470eb4..03dd0e9 100644
- -
SYS=posix SYS=posix
#SYS=mingw #SYS=mingw
@@ -20,8 +15,8 @@ CRYPTO_DEF=$(DEF_$(CRYPTO)) @@ -20,12 +15,12 @@
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF) DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
OPT=-O2 OPT=-O2
-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) -CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
-LDFLAGS=-Wall $(XLDFLAGS) -LDFLAGS=-Wall $(XLDFLAGS)
+CFLAGS+=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) +CFLAGS+=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
+LDFLAGS+=-Wall $(XLDFLAGS) +LDFLAGS+=-Wall $(XLDFLAGS)
bindir=$(prefix)/bin bindir=$(prefix)/bin
sbindir=$(prefix)/sbin sbindir=$(prefix)/sbin
@@ -35,7 +30,7 @@ LIBS_posix= -mandir=$(prefix)/man
+mandir=$(prefix)/share/man
BINDIR=$(DESTDIR)$(bindir)
SBINDIR=$(DESTDIR)$(sbindir)
@@ -35,7 +30,7 @@
LIBS_mingw=-lws2_32 -lwinmm -lgdi32 LIBS_mingw=-lws2_32 -lwinmm -lgdi32
LIBS=$(CRYPTO_LIB) -lz $(LIBS_$(SYS)) $(XLIBS) LIBS=$(CRYPTO_LIB) -lz $(LIBS_$(SYS)) $(XLIBS)
-THREADLIB_posix=-lpthread -THREADLIB_posix=-lpthread
+THREADLIB_posix= +THREADLIB_posix=
THREADLIB_mingw= THREADLIB_mingw=
THREADLIB=$(THREADLIB_$(SYS)) THREADLIB=$(THREADLIB_$(SYS))
SLIBS=$(THREADLIB) $(LIBS) SLIBS=$(THREADLIB) $(LIBS)
diff --git a/librtmp/Makefile b/librtmp/Makefile
index 6774db7..6e8d6c9 100644
--- a/librtmp/Makefile
+++ b/librtmp/Makefile
@@ -1,11 +1,5 @@
VERSION=v2.3
-prefix=/usr/local
-
-CC=$(CROSS_COMPILE)gcc
-LD=$(CROSS_COMPILE)ld
-AR=$(CROSS_COMPILE)ar
-
SYS=posix
CRYPTO=OPENSSL
#CRYPTO=GNUTLS

Loading…
Cancel
Save