diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-12 15:29:37 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-12 15:29:37 +0000 |
commit | cdb8256f1be073ee580443f055cea42dfa4f0a8a (patch) | |
tree | 88f5fc59ca92cb0cc696d418e8dff349c265467f /net-p2p | |
parent | df5a2ca332127a415e6435541bf0ed6a3add9e96 (diff) | |
download | ports-cdb8256f1be073ee580443f055cea42dfa4f0a8a.tar.gz ports-cdb8256f1be073ee580443f055cea42dfa4f0a8a.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/transmission-cli/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile index a02d1a01672a..1b61ac646877 100644 --- a/net-p2p/transmission-cli/Makefile +++ b/net-p2p/transmission-cli/Makefile @@ -38,19 +38,15 @@ GEN_LIB_DEPENDS=libcurl.so:${PORTSDIR}/ftp/curl \ GEN_RUN_DEPENDS=${LOCALBASE}/share/transmission/web/index.html:${PORTSDIR}/www/transmission-web # This is master port of transmission-*, so don't override USES definition -USES+= gmake pkgconfig iconv +USES+= gmake iconv libtool pkgconfig USE_OPENSSL= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lcrypto ${ICONV_LIB} +LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS=--with-zlib=/usr \ ${EXTRA_CONF_ARGS} -CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LDFLAGS} -.if empty(OPENSSL_CFLAGS) -CONFIGURE_ENV+= OPENSSL_CFLAGS=-I${OPENSSLINC} -.else -CONFIGURE_ENV+= OPENSSL_CFLAGS=${OPENSSL_CFLAGS},-I${OPENSSLINC} -.endif +CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" EXTRA_CONF_ARGS?=--enable-cli \ --disable-daemon \ --without-gtk \ @@ -77,9 +73,8 @@ general-patch: ${WRKSRC}/libtransmission/utils.h .endif @${REINPLACE_CMD} -e \ - 's|_pthread_flags=".*"|_pthread_flags="${PTHREAD_LIBS}"|g ; \ - s|rt_clock_gettime=yes|rt_clock_gettime=no|g ; \ - s|" == "|" = "|g ; s|$$with_ssl.*/usr;|${OPENSSLBASE};|g' \ + 's|rt_clock_gettime=yes|rt_clock_gettime=no|g ; \ + s|" == "|" = "|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|doc \\| \\|g' \ ${WRKSRC}/Makefile.in |