summaryrefslogtreecommitdiff
path: root/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/pure-ftpd/pure-ftpd-9999.ebuild')
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
index 712fefda22b2..2c5c51cfabc5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -53,6 +53,9 @@ PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" )
src_prepare() {
default
+ # Don't hardcode FORTIFY_SOURCE
+ sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure.ac || die
+
[[ "${PV}" == 9999 ]] && eautoreconf
}