Changeset View
Changeset View
Standalone View
Standalone View
net/opensips31/files/patch-Makefile.defs
--- Makefile.defs.orig | --- Makefile.defs.orig 2021-10-20 11:23:25 UTC | ||||
+++ Makefile.defs | +++ Makefile.defs | ||||
@@ -57,14 +57,15 @@ | @@ -57,14 +57,15 @@ else | ||||
arrowd: What's that `else`? | |||||
Done Inline Actionsdiizzy: https://github.com/OpenSIPS/opensips/blob/3.1/Makefile.defs#L56 ? | |||||
Not Done Inline ActionsOK, I got confused that it is at the same line as the @@ ... @@. arrowd: OK, I got confused that it is at the same line as the `@@ ... @@`. | |||||
makefile_defs=1 | makefile_defs=1 | ||||
export makefile_defs | export makefile_defs | ||||
-# main binary name | -# main binary name | ||||
-MAIN_NAME=opensips | -MAIN_NAME=opensips | ||||
- | - | ||||
#version number | #version number | ||||
VERSION_MAJOR = 3 | VERSION_MAJOR = 3 | ||||
VERSION_MINOR = 1 | VERSION_MINOR = 1 | ||||
VERSION_SUBMINOR = 2 | VERSION_SUBMINOR = 6 | ||||
VERSION_BUILD = | VERSION_BUILD = | ||||
+ | + | ||||
+# main binary name | +# main binary name | ||||
+NAME_SUFFIX=$(VERSION_MAJOR)$(VERSION_MINOR) | +NAME_SUFFIX=$(VERSION_MAJOR)$(VERSION_MINOR) | ||||
+MAIN_NAME=opensips$(NAME_SUFFIX) | +MAIN_NAME=opensips$(NAME_SUFFIX) | ||||
ifneq (,$(VERSION_BUILD)) | ifneq (,$(VERSION_BUILD)) | ||||
RELEASE=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_SUBMINOR)-$(VERSION_BUILD) | RELEASE=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_SUBMINOR)-$(VERSION_BUILD) |
What's that else?