Package: opensips / 2.2.2-3.1

no_lib64_on_64_bits.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: don't try to install to lib64 and use multiarch instead.
Author: Julián Moreno Patiño <julian@debian.org>
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -322,14 +322,7 @@
 cfg_dir = etc/$(MAIN_NAME)/
 bin_dir = sbin/
 
-ARCH_B = $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
-ifeq ($(ARCH_B),64b)
-	LIBDIR ?= lib64
-else
-	LIBDIR ?= lib
-	# assume 32b - it is not really used further
-	ARCH_B=32b
-endif
+LIBDIR ?= lib
 
 lib_dir = $(LIBDIR)/$(MAIN_NAME)
 modules_dir = $(LIBDIR)/$(MAIN_NAME)/modules/