Skip to content

Commit

Permalink
net-misc/ntpsec: drop epatch
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 21, 2021
1 parent 3da0e29 commit 6e3cb0f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions net-misc/ntpsec/ntpsec-1.1.9.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_REQ_USE='threads(+)'

inherit epatch flag-o-matic python-r1 waf-utils systemd
inherit flag-o-matic python-r1 waf-utils systemd

if [[ ${PV} == *9999* ]]; then
inherit git-r3
Expand Down Expand Up @@ -66,9 +66,9 @@ WAF_BINARY="${S}/waf"
src_prepare() {
default
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript
sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
epatch "${FILESDIR}/${PN}-no-bsd.patch"
eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
python_copy_sources
}
Expand Down
8 changes: 4 additions & 4 deletions net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6..9} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no

inherit epatch distutils-r1 flag-o-matic waf-utils systemd
inherit distutils-r1 flag-o-matic waf-utils systemd

if [[ ${PV} == *9999* ]]; then
inherit git-r3
Expand Down Expand Up @@ -68,12 +68,12 @@ WAF_BINARY="${S}/waf"
src_prepare() {
default
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript
sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
epatch "${FILESDIR}/${PN}-no-bsd.patch"
eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die

python_copy_sources
}
Expand Down
6 changes: 3 additions & 3 deletions net-misc/ntpsec/ntpsec-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_REQ_USE='threads(+)'

inherit epatch flag-o-matic python-r1 waf-utils systemd
inherit flag-o-matic python-r1 waf-utils systemd

if [[ ${PV} == *9999* ]]; then
inherit git-r3
Expand Down Expand Up @@ -61,9 +61,9 @@ WAF_BINARY="${S}/waf"
src_prepare() {
default
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript
sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
epatch "${FILESDIR}/${PN}-no-bsd.patch"
eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
python_copy_sources
}
Expand Down

0 comments on commit 6e3cb0f

Please sign in to comment.