mcst-linux-kernel/patches-2024.06.26/kamailio-5.6/0003-Makefile-BASEDIR-exclu...

44 lines
1.1 KiB
Diff
Raw Permalink Normal View History

2024-07-09 13:51:45 +03:00
diff -Naur a/src/Makefile.defs b/src/Makefile.defs
--- a/src/Makefile.defs 2023-11-01 19:24:04.234688455 +0300
+++ b/src/Makefile.defs 2023-11-01 23:58:34.019376659 +0300
@@ -464,7 +464,7 @@
ifeq ($(ARCHBSZ),64b)
LIBDIR = lib64
else
- LIBDIR = lib
+ LIBDIR = lib/e2k-linux-gnu
endif
endif
@@ -539,7 +539,7 @@
# Doxygen directory
doxygen_dir=doc/doxygen
-BASEDIR ?= $(DESTDIR)
+BASEDIR ?= ${DESTDIR}
basedir = $(BASEDIR)
RUNBASEDIR ?= $(DESTDIR)
runbasedir = $(RUNBASEDIR)
@@ -551,10 +551,10 @@
# example:
# creating a bin. archive in /tmp, which unpacks in /usr/local
# basedir=/tmp
-# prefix=/usr/local
+# prefix=/usr/
# install prefixes for various stuff
-cfg_prefix = $(basedir)$(prefix)
+cfg_prefix = $(basedir)
bin_prefix = $(basedir)$(prefix)
modules_prefix = $(basedir)$(prefix)
lib_prefix = $(basedir)$(prefix)
@@ -567,7 +567,7 @@
# target dirs for various stuff
-cfg_target = $(prefix)/$(cfg_dir)
+cfg_target = $(cfg_dir)
bin_target = $(prefix)/$(bin_dir)
#modules_target = $(prefix)/$(modules_dir)
lib_target = $(prefix)/$(lib_dir)