Diff htpdate-1.3.4 with a htpdate-1.3.6

/usr/portage/net-misc/htpdate/htpdate-1.3.6.ebuild 2023-10-09 14:52:34.652368480 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
7 7

  
8 8
DESCRIPTION="Synchronize local workstation with time offered by remote webservers"
9 9
HOMEPAGE="https://www.vervest.org/htp/"
10
if [[ "${PV}" == *9999 ]] ; then
10
if [[ ${PV} == *9999 ]] ; then
11 11
	inherit git-r3
12 12
	EGIT_REPO_URI="https://github.com/twekkel/htpdate"
13 13
else
14 14
	SRC_URI="https://github.com/twekkel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
15 15
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
16 16
fi
17
IUSE="+ssl"
17

  
18 18
LICENSE="GPL-2"
19 19
SLOT="0"
20
IUSE="+ssl"
20 21

  
21
DEPEND="ssl? ( dev-libs/openssl:0= )"
22
DEPEND="ssl? ( dev-libs/openssl:= )"
22 23
RDEPEND="${DEPEND}"
23 24

  
24 25
# Test suite tries to connect to the Internet
......
27 28
DOC_CONTENTS="If you would like to run htpdate as a daemon, set
28 29
appropriate http servers in /etc/conf.d/htpdate!"
29 30

  
30
PATCHES=(  )
31

  
32 31
src_prepare() {
33 32
	default
34 33

  
......
39 38
}
40 39

  
41 40
src_compile() {
42
	emake CFLAGS="-Wall ${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \
43
		$(usex ssl "https" '')
41
	emake \
42
		CFLAGS="-Wall ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" \
43
		CC="$(tc-getCC)" \
44
		$(usev ssl 'https')
44 45
}
45 46

  
46 47
src_install() {
Thank you!