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

Collapse All | Expand All

(-)Makefile (-6 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/net/megatools/Makefile 374555 2014-12-11 23:06:14Z amdmi3 $
2
# $FreeBSD: head/net/megatools/Makefile 374555 2014-12-11 23:06:14Z amdmi3 $
3
3
4
PORTNAME=	megatools
4
PORTNAME=	megatools
5
PORTVERSION=	1.9.93
5
PORTVERSION=	1.9.94
6
CATEGORIES=	net
6
CATEGORIES=	net
7
MASTER_SITES=	http://megatools.megous.com/builds/
7
MASTER_SITES=	http://megatools.megous.com/builds/
8
8
Lines 13-28 Link Here
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
15
LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
16
RUN_DEPENDS=	glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking
16
RUN_DEPENDS=	glib-networking>=2.32.0:${PORTSDIR}/net/glib-networking
17
17
18
CONFIGURE_ENV=  OPENSSL_CFLAGS="-I${OPENSSLINC}" \
19
                OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
18
USES=		gmake pkgconfig libtool
20
USES=		gmake pkgconfig libtool
19
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
20
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
21
USE_GNOME=	glib20
23
USE_GNOME=	glib20
22
USE_OPENSSL=	yes
24
USE_OPENSSL=	yes
23
25
24
LIBS+=          -lssl -lcrypto
25
26
INSTALL_TARGET=	install-strip
26
INSTALL_TARGET=	install-strip
27
CONFIGURE_ARGS=	--enable-introspection=no
27
CONFIGURE_ARGS=	--enable-introspection=no
28
28
Lines 34-40 Link Here
34
FUSE_CONFIGURE_WITH=	fuse
34
FUSE_CONFIGURE_WITH=	fuse
35
35
36
post-patch:
36
post-patch:
37
	@${REINPLACE_CMD} -e '/MEGA_REQUIRES=/ s|openssl||' ${WRKSRC}/configure
38
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
37
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
39
38
40
.include <bsd.port.mk>
39
.include <bsd.port.mk>

Return to bug 196461