Skip to content

Commit

Permalink
net-im/prosody: add notice back
Browse files Browse the repository at this point in the history
Also remove duplicate initd install.

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <[email protected]>
  • Loading branch information
ConiKost committed Oct 3, 2020
1 parent 152ec76 commit b4ccfc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions net-im/prosody/prosody-0.11.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RDEPEND="
PATCHES=( "${FILESDIR}/${PN}-0.11.2-r1-gentoo.patch" )

src_configure() {
local myconfargs=(
local myeconfargs=(
--c-compiler="$(tc-getCC)"
--datadir="${EPREFIX}/var/spool/jabber"
--libdir="${EPREFIX}/usr/$(get_libdir)"
Expand All @@ -59,7 +59,9 @@ src_configure() {
--with-lua-lib="${EPREFIX}/usr/$(get_libdir)/lua"
)

./configure ${myconfargs[@]} --cflags="${CFLAGS} -Wall -fPIC" --ldflags="${LDFLAGS} -shared" || die
# Since the configure script is handcrafted,
# and yells at unknown options, do not use 'econf'.
./configure ${myeconfargs[@]} --cflags="${CFLAGS} -Wall -fPIC" --ldflags="${LDFLAGS} -shared" || die

rm makefile || die
mv GNUmakefile Makefile || die
Expand All @@ -74,6 +76,4 @@ src_install() {

systemd_dounit "${FILESDIR}"/prosody.service
systemd_newtmpfilesd "${FILESDIR}"/prosody.tmpfilesd prosody.conf

newinitd "${FILESDIR}"/prosody.initd-r3 prosody
}

0 comments on commit b4ccfc4

Please sign in to comment.