summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ntpsec/ntpsec-9999.ebuild')
-rw-r--r--net-misc/ntpsec/ntpsec-9999.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index a4689a76e05b..680e3dcba1d5 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -66,6 +66,8 @@ pkg_setup() {
src_prepare() {
default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
python_copy_sources
}
@@ -83,9 +85,6 @@ src_configure() {
done
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
-
local myconf=(
--nopyc
--nopyo
@@ -135,6 +134,7 @@ src_install() {
mkdir -pv "${ED}"/var/lib/ntp
chown ntp:ntp "${ED}"/var/lib/ntp
chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
# Install a log rotate script
mkdir -pv "${ED}"/etc/logrotate.d