blob: cbf16e890ce5e9457131976f3f994309da9cfcdf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= libelf
DISTVERSION= 0.8.13
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= NETBSD
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Public ELF file access library similar to libelf(3) in Solaris
WWW= https://web.archive.org/web/20181111033959/www.mr511.de/software/english.html
LICENSE= LGPL20
USES= desthack pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-compat
CONFLICTS_INSTALL= elfutils
OPTIONS_DEFINE= EXTENDED NLS SANITY
OPTIONS_DEFAULT= EXTENDED SANITY
EXTENDED_DESC= ELF format extensions
SANITY_DESC= Avoid loading invalid ELF files
EXTENDED_CONFIGURE_ENABLE= extended-format
NLS_USES= gettext localbase:ldflags
NLS_CONFIGURE_ENABLE= nls
NLS_LDFLAGS= -lintl
SANITY_CONFIGURE_ENABLE= sanity-checks
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= GETTEXT=""
.else
PLIST_SUB+= GETTEXT="@comment "
.endif
.include <bsd.port.mk>
|