aboutsummaryrefslogtreecommitdiffstats
path: root/main/sems
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-21 17:24:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-21 17:27:24 +0000
commitc243e51cdbad8e9f5c43440513f97fe57f567ceb (patch)
treefa627ecf06c225d2fbd0a228ee35b727cf352bd4 /main/sems
parented2761657813f46e8975756b317f7b8ffdd850e1 (diff)
downloadaports-c243e51cdbad8e9f5c43440513f97fe57f567ceb.tar.bz2
aports-c243e51cdbad8e9f5c43440513f97fe57f567ceb.tar.xz
main/sems: use relative paths in logs
By default cmake will use full path to source files (*.c). This will make the log macro in core/log.h, who uses __FILE__ expand the source file to full path which will make the logs pretty noisy. We force cmake to use relative paths.
Diffstat (limited to 'main/sems')
-rw-r--r--main/sems/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/sems/APKBUILD b/main/sems/APKBUILD
index 33458758cc..37a0a1b805 100644
--- a/main/sems/APKBUILD
+++ b/main/sems/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sems
pkgver=1.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="SIP Express Media Server, an extensible SIP media server"
url="http://iptel.org/sems/"
arch="all"
@@ -48,7 +48,11 @@ prepare() {
build() {
cd "$_builddir"
+ # force cmake to use relative paths. It helps us avoid having the
+ # full file path in the logs
cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_USE_RELATIVE_PATHS=yes \
-DSEMS_USE_SPANDSP=yes \
-DSEMS_USE_LIBSAMPLERATE=yes \
-DSEMS_USE_ZRTP=NO \