summaryrefslogtreecommitdiff
path: root/multimedia/rtmpdump/files/patch-Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2010-07-31 16:51:50 +0000
committerHiroki Sato <hrs@FreeBSD.org>2010-07-31 16:51:50 +0000
commitbb683a72f3aa3efa929358f88f3a67ab44b13da2 (patch)
tree72126dffcd9cded78f3efa1e0fdf4171e85114db /multimedia/rtmpdump/files/patch-Makefile
parentCommit the pkg-plist change for the org.freedesktop.Avahi.service file. (diff)
Update to 2.3.
- Use PTHREAD_*. - Add librtmp(3) and pkg-config(1) support.
Notes
Notes: svn path=/head/; revision=258532
Diffstat (limited to 'multimedia/rtmpdump/files/patch-Makefile')
-rw-r--r--multimedia/rtmpdump/files/patch-Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/multimedia/rtmpdump/files/patch-Makefile b/multimedia/rtmpdump/files/patch-Makefile
new file mode 100644
index 000000000000..c82bd9cde84c
--- /dev/null
+++ b/multimedia/rtmpdump/files/patch-Makefile
@@ -0,0 +1,36 @@
+--- Makefile.orig 2010-07-01 04:58:35.000000000 +0900
++++ Makefile 2010-08-01 01:26:30.000000000 +0900
+@@ -1,9 +1,9 @@
+ VERSION=v2.3
+
+-prefix=/usr/local
++prefix=${PREFIX}
+
+-CC=$(CROSS_COMPILE)gcc
+-LD=$(CROSS_COMPILE)ld
++#CC=$(CROSS_COMPILE)gcc
++#LD=$(CROSS_COMPILE)ld
+
+ SYS=posix
+ #SYS=mingw
+@@ -20,8 +20,9 @@
+
+ DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
+ OPT=-O2
+-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
+-LDFLAGS=-Wall $(XLDFLAGS)
++#CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
++CFLAGS+=$(DEF)
++#LDFLAGS=-Wall $(XLDFLAGS)
+
+ bindir=$(prefix)/bin
+ sbindir=$(prefix)/sbin
+@@ -37,7 +38,7 @@
+
+ THREADLIB_posix=-lpthread
+ THREADLIB_mingw=
+-THREADLIB=$(THREADLIB_$(SYS))
++THREADLIB?=$(THREADLIB_$(SYS))
+ SLIBS=$(THREADLIB) $(LIBS)
+
+ LIBRTMP=librtmp/librtmp.a