summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-04 17:34:38 +0100
committerSam James <sam@gentoo.org>2023-10-04 17:47:17 +0100
commit9d66ecd2a85a89a277513f39263f7f288e02578e (patch)
tree1aa667e03bd4c6f84bdb4ec7275d71c6f0782414 /net-analyzer
parentsys-apps/usbmon: don't redefine _FORTIFY_SOURCE (diff)
downloadgentoo-9d66ecd2a85a89a277513f39263f7f288e02578e.tar.gz
gentoo-9d66ecd2a85a89a277513f39263f7f288e02578e.tar.bz2
gentoo-9d66ecd2a85a89a277513f39263f7f288e02578e.zip
net-analyzer/odhcploc: don't redefine _FORTIFY_SOURCE
Closes: https://bugs.gentoo.org/895538 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild b/net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild
new file mode 100644
index 000000000000..c3f0850644e0
--- /dev/null
+++ b/net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Open DHCP Locator"
+HOMEPAGE="http://odhcploc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_configure() {
+ # Don't clobber toolchain defaults
+ sed -i -e 's:-Wp,-D_FORTIFY_SOURCE=2::' Makefile || die
+
+ tc-export CC
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.8
+ dodoc AUTHORS
+}