[rtmpdump] [PATCH] 2 of 2 for build port on OpenBSD

Howard Chu hyc at highlandsun.com
Wed Aug 3 20:17:27 CEST 2011


Nigel Taylor wrote:
> Hi,
>
> OpenBSD the shared library version numbering is
> defined in the port Makefile. This change allows
> the shared library version to be overridden and
> use the version defined in the port Makefile.

The version can already be overridden simply by setting a value on the make 
invocation. This patch is totally unnecessary. Also it uses non-standard Make 
syntax so it would not be acceptable even if it was necessary.

Learn how to use your own damn tools.

> --- librtmp/Makefile.orig       Tue Jul 12 01:24:33 2011
> +++ librtmp/Makefile    Thu Jul 14 13:13:52 2011
> @@ -36,7 +36,7 @@ CRYPTO_LIB=$(LIB_$(CRYPTO)) $(PRIVATE_LIBS)
>   CRYPTO_REQ=$(REQ_$(CRYPTO))
>   CRYPTO_DEF=$(DEF_$(CRYPTO))
>
> -SO_VERSION=0
> +SO_VERSION?=0
>   SOX_posix=so
>   SOX_darwin=dylib
>   SOX_mingw=so   # useless


More information about the rtmpdump mailing list