Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
719059e3
Commit
719059e3
authored
Dec 02, 2014
by
Guillaume BIENKOWSKI
Browse files
Don't mess up with sysconfdir for flexisip, otherwise the service won't be able to start correctly
parent
e1540885
Changes
1
Hide whitespace changes
Inline
Side-by-side
configs/config-flexisip-rpm.cmake
View file @
719059e3
...
...
@@ -143,15 +143,18 @@ set(LINPHONE_BUILDER_RPMBUILD_PACKAGE_PREFIX "bc-")
# prepare the RPMBUILD options that we need to pass
set
(
RPMBUILD_OPTIONS
"--define '_mandir %{_prefix}'
--define '_sysconfdir %{_prefix}/etc'
"
)
set
(
RPMBUILD_OPTIONS
"--define '_mandir %{_prefix}'"
)
if
(
PLATFORM STREQUAL
"Debian"
)
# dependencies cannot be checked by rpmbuild in debian
set
(
RPMBUILD_OPTIONS
"
${
RPMBUILD_OPTIONS
}
--nodeps"
)
# dist is not defined in debian for rpmbuild..
set
(
RPMBUILD_OPTIONS
"
${
RPMBUILD_OPTIONS
}
--define 'dist deb'"
)
# debian has multi-arch lib dir instead of lib and lib64
set
(
RPMBUILD_OPTIONS
"
${
RPMBUILD_OPTIONS
}
--define '_libdir %{_prefix}/
${
CMAKE_INSTALL_LIBDIR
}
'"
)
# some debians are using dash as shell, which doesn't support "export -n", so we override and use bash
set
(
RPMBUILD_OPTIONS
"
${
RPMBUILD_OPTIONS
}
--define '_buildshell /bin/bash'"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment