rtmpdump: do not hardcode /usr/pkg

Fixes PR 52537 by John Klos.
This commit is contained in:
wiz 2017-09-12 05:54:10 +00:00
parent 7f590eba34
commit 97585fb9e8
2 changed files with 3 additions and 11 deletions

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.7 2017/07/13 13:19:59 wiz Exp $
$NetBSD: distinfo,v 1.8 2017/09/12 05:54:10 wiz Exp $
SHA1 (rtmpdump-2.4.tar.gz) = 975f8c79788d1f9fcc66f572509f0203982b17ac
RMD160 (rtmpdump-2.4.tar.gz) = a8cf22e88e544061f15769e758754b028f1be7ff
SHA512 (rtmpdump-2.4.tar.gz) = a6253af95492739366dce620a2a6cc6f4f18d7f12f9ef2c747240259066ca135beeb02091d0f3dd8380c0c294a30d3f702ad3fad1dee1db4e70473078fb81609
Size (rtmpdump-2.4.tar.gz) = 134558 bytes
SHA1 (patch-Makefile) = 21c888a0b864d692595fb8a4a60c1bef3e2fca0c
SHA1 (patch-Makefile) = db528f2b97bf7f4500cce26c34e5b3929019fd9a
SHA1 (patch-librtmp_Makefile) = a44cd464e56230a76143f0d5130190c0cc7dc7a9

View file

@ -1,18 +1,10 @@
$NetBSD: patch-Makefile,v 1.5 2017/07/13 13:19:59 wiz Exp $
$NetBSD: patch-Makefile,v 1.6 2017/09/12 05:54:10 wiz Exp $
* Pass LDFLAGS to linker
* Libtoolize
--- Makefile.orig 2011-07-12 00:24:33.000000000 +0000
+++ Makefile
@@ -1,6 +1,6 @@
VERSION=v2.4
-prefix=/usr/local
+prefix=/usr/pkg
CC=$(CROSS_COMPILE)gcc
LD=$(CROSS_COMPILE)ld
@@ -22,11 +22,11 @@ CRYPTO_DEF=$(DEF_$(CRYPTO))
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
OPT=-O2