Diff isic-0.07-r2 with a isic-0.07-r3
| /usr/portage/net-analyzer/isic/isic-0.07-r3.ebuild 2025-07-29 16:22:15.668460860 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 16 | 16 |
DEPEND="net-libs/libnet:1.1" |
| 17 | 17 |
RDEPEND="${DEPEND}"
|
| 18 | 18 | |
| 19 |
PATCHES=( |
|
| 20 |
"${FILESDIR}/${P}-configure.patch"
|
|
| 21 |
) |
|
| 22 | ||
| 19 | 23 |
src_prepare() {
|
| 20 | 24 |
default |
| 21 | 25 |
# Add two missing includes |
| 22 | 26 |
echo "#include <netinet/udp.h>" >> isic.h || die |
| 23 | 27 |
echo "#include <netinet/tcp.h>" >> isic.h || die |
| 24 | 28 | |
| 25 |
# Install man pages in /usr/share/man |
|
| 26 |
sed -i -e 's|/man/man1|/share&|g' Makefile.in || die |
|
| 27 | 29 |
} |
| 28 | 30 | |
| 29 | 31 |
src_configure() {
|
| 30 | 32 |
tc-export CC |
| 31 |
# Build system does not know about DESTDIR |
|
| 32 |
econf --prefix="${D}/usr" --exec_prefix="${D}/usr"
|
|
| 33 | ||
| 34 |
econf |
|
| 33 | 35 |
} |