Skip to content

Commit

Permalink
net/tintin++: Add GNUTLS option
Browse files Browse the repository at this point in the history
PR:		257592
  • Loading branch information
blabber authored and sunpoet committed Aug 8, 2021
1 parent a3abb6e commit e52c026
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions net/tintin++/Makefile
Expand Up @@ -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

Expand All @@ -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/
Expand Down

0 comments on commit e52c026

Please sign in to comment.