diff --git a/textproc/libtre/Makefile b/textproc/libtre/Makefile index 540a7cae6ee5..f1d3b43bef86 100644 --- a/textproc/libtre/Makefile +++ b/textproc/libtre/Makefile @@ -15,13 +15,11 @@ COMMENT= Lightweight fully POSIX compliant regexp matching library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= libtool pathfix pkgconfig tar:bzip2 +USES= libtool localbase:ldflags pathfix pkgconfig tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static USE_LDCONFIG= yes - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +TEST_TARGET= check OPTIONS_DEFINE= NLS OPTIMIZED_CFLAGS PGO DOCS OPTIONS_SUB= yes @@ -51,9 +49,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor -regression-test: build - @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check ) - .if ${PORT_OPTIONS:MPGO} pgo: pgo-pre-build pgo-build pgo-run pgo-post-run pgo-clean diff --git a/textproc/libtre/pkg-descr b/textproc/libtre/pkg-descr index 19f483060dd0..73609f1bad60 100644 --- a/textproc/libtre/pkg-descr +++ b/textproc/libtre/pkg-descr @@ -11,4 +11,4 @@ of the text. The used space is also quadratic on the length of the regex, but does not depend on the searched string. This quadratic behaviour occurs only on pathological cases which are probably very rare in practice. -WWW: http://laurikari.net/tre/ +WWW: https://laurikari.net/tre/