From e52c0266c99e9b5de18af55c2bb9bd4a208df7b6 Mon Sep 17 00:00:00 2001 From: Tobias Rehbein Date: Mon, 9 Aug 2021 05:42:16 +0800 Subject: [PATCH] net/tintin++: Add GNUTLS option PR: 257592 --- net/tintin++/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/net/tintin++/Makefile b/net/tintin++/Makefile index 252621df09cb1..a3b72baf41697 100644 --- a/net/tintin++/Makefile +++ b/net/tintin++/Makefile @@ -15,19 +15,12 @@ LICENSE_FILE= ${WRKSRC}/../COPYING LIB_DEPENDS= libpcre.so:devel/pcre -CONFLICTS_INSTALL?= zh-tintin++ - -OPTIONS_DEFINE= BIG5 DOCS -BIG5_DESC= Big5 support - USES= gmake localbase CONFIGURE_ARGS= --includedir=${LOCALBASE}/include \ --libdir=${LOCALBASE}/lib \ --prefix=${PREFIX} -CONFIGURE_ENV= ac_cv_file__dev_ptmx=no \ - ac_cv_header_gnutls_gnutls_h=no \ - ac_cv_lib_gnutls_gnutls_init=no +CONFIGURE_ENV= ac_cv_file__dev_ptmx=no GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/tt/src @@ -36,9 +29,17 @@ DOCS= CREDITS FAQ README SCRIPTS TODO \ PLIST_FILES= bin/tt++ PORTDOCS= ${DOCS:T} +CONFLICTS_INSTALL?= zh-tintin++ + SLAVEDIRS= chinese/tintin++ +OPTIONS_DEFINE= BIG5 DOCS GNUTLS +BIG5_DESC= Big5 support + BIG5_CONFIGURE_ENABLE= big5 +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +GNUTLS_CONFIGURE_ENV_OFF= ac_cv_header_gnutls_gnutls_h=no \ + ac_cv_lib_gnutls_gnutls_init=no do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${STAGEDIR}${PREFIX}/bin/