summaryrefslogtreecommitdiffstats
path: root/devel/e2fsprogs-libss/Makefile
blob: 0252efa1abe11fc5790267bf085fcb194cf40c51 (plain)
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
# Created by: Ben Kaduk <kaduk@mit.edu>
# $FreeBSD$

PORTREVISION=	0
CATEGORIES=	devel
PKGNAMESUFFIX=	-libss

MAINTAINER=	kaduk-fbsd@mit.edu
COMMENT=	Command-line interface parsing library from e2fsprogs

LICENSE=	MIT
LICENSE_FILE=	${INSTALL_WRKSRC}/ss.h

CONFLICTS=	heimdal-[0-9]*
CONFLICTS+=	krb4-[0-9]*

BROKEN_mips=		Does not build: expected declaration specifiers before size_t
BROKEN_mips64=		Does not build: expected declaration specifiers before size_t
BROKEN_powerpc64=	Does not build: expected declaration specifiers before size_t
BROKEN_sparc64=		Does not build: expected declaration specifiers before size_t

OPTIONS_EXCLUDE=	DOCS EXAMPLES IPV6 NLS
CONFIGURE_ARGS=	--enable-elf-shlibs
MASTERDIR=	${.CURDIR}/../../sysutils/e2fsprogs
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
BUILD_WRKSRC=	${WRKSRC}/lib/ss
INSTALL_WRKSRC=	${WRKSRC}/lib/ss
FILESDIR=	${.CURDIR}/files

PKGDIR=		${.CURDIR}

pre-build:
	@(cd ${WRKSRC}/lib/ss && compile_et ss_err.et && \
	${REINPLACE_CMD} -f ${FILESDIR}/fix-ss_err.h.sed ss_err.h)

.include "${MASTERDIR}/Makefile"
OpenPOWER on IntegriCloud