View | Details | Raw Unified | Return to bug 201949 | Differences between
and this patch

Collapse All | Expand All

(-)archivers/libarchive/Makefile (-12 / +7 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	libarchive
3
PORTNAME=	libarchive
4
PORTVERSION=	3.1.2
4
PORTVERSION=	3.1.2
5
PORTREVISION=	2
5
PORTREVISION=	3
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	archivers
7
CATEGORIES=	archivers
8
MASTER_SITES=	http://libarchive.org/downloads/
8
MASTER_SITES=	http://libarchive.org/downloads/
Lines 10-28 MASTER_SITES= http://libarchive.org/down Link Here
10
MAINTAINER=	glewis@FreeBSD.org
10
MAINTAINER=	glewis@FreeBSD.org
11
COMMENT=	Library to create and read several streaming archive formats
11
COMMENT=	Library to create and read several streaming archive formats
12
12
13
OPTIONS_DEFINE=	LIBXML2 LZO NETTLE
13
LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
14
OPTIONS_DEFAULT=LIBXML2 LZO
14
15
OPTIONS_DEFINE=	LZO NETTLE
16
OPTIONS_DEFAULT=LZO
15
17
16
LIBXML2_DESC=	Support writing xar via libxml2
17
LZO_DESC=	Support lzo compression via liblzo2
18
LZO_DESC=	Support lzo compression via liblzo2
18
NETTLE_DESC=	Use Nettle instead of OpenSSL
19
NETTLE_DESC=	Use Nettle instead of OpenSSL
19
20
20
USES=		cpe libtool pathfix
21
USES=		cpe libtool pathfix
21
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
22
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
23
PATCH_STRIP=	-p1
24
24
25
CONFIGURE_ARGS+=	--without-expat
25
CONFIGURE_ARGS=	--without-xml2
26
26
27
PLIST_FILES=	bin/bsdcpio \
27
PLIST_FILES=	bin/bsdcpio \
28
		bin/bsdtar \
28
		bin/bsdtar \
Lines 78-88 CFLAGS+= "-I${LOCALBASE}/include" Link Here
78
CPPFLAGS+=	"-I${LOCALBASE}/include"
78
CPPFLAGS+=	"-I${LOCALBASE}/include"
79
LDFLAGS+=	"-L${LOCALBASE}/lib"
79
LDFLAGS+=	"-L${LOCALBASE}/lib"
80
80
81
LIBXML2_USE=		GNOME=libxml2
82
LIBXML2_CONFIGURE_WITH=	xml2
83
LIBXML2_CFLAGS=		-DHAVE_BSDXML_H=1
84
LIBXML2_LDFLAGS=	-lbsdxml
85
86
LZO_LIB_DEPENDS=	liblzo2.so:${PORTSDIR}/archivers/lzo2
81
LZO_LIB_DEPENDS=	liblzo2.so:${PORTSDIR}/archivers/lzo2
87
LZO_CONFIGURE_WITH=	lzo2
82
LZO_CONFIGURE_WITH=	lzo2
88
83
Lines 93-98 NETTLE_USE_OFF= OPENSSL=yes Link Here
93
NETTLE_CONFIGURE_OFF=	--with-openssl
88
NETTLE_CONFIGURE_OFF=	--with-openssl
94
89
95
check:
90
check:
96
	(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} check)
91
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
97
92
98
.include <bsd.port.mk>
93
.include <bsd.port.mk>

Return to bug 201949