svn commit: r521007 - head/sysutils/goaccess

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 27 16:16:41 UTC 2019


Author: bapt
Date: Fri Dec 27 16:16:40 2019
New Revision: 521007
URL: https://svnweb.freebsd.org/changeset/ports/521007

Log:
  Ensure it can be built with only 1 implementation of ncurses

Modified:
  head/sysutils/goaccess/Makefile

Modified: head/sysutils/goaccess/Makefile
==============================================================================
--- head/sysutils/goaccess/Makefile	Fri Dec 27 16:07:55 2019	(r521006)
+++ head/sysutils/goaccess/Makefile	Fri Dec 27 16:16:40 2019	(r521007)
@@ -18,8 +18,8 @@ INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 USES=		alias compiler:c11 pkgconfig ncurses
 
-CFLAGS+=	-I${NCURSESINC} -I${LOCALBASE}/include
-LDFLAGS+=	-L${NCURSESLIB} -L${LOCALBASE}/lib
+CFLAGS+=	-I${NCURSESINC}
+LDFLAGS+=	-L${NCURSESLIB}
 
 PORTDOCS=	AUTHORS COPYING ChangeLog NEWS README TODO
 
@@ -46,6 +46,9 @@ TOKYOCABINET_BTREE_CONFIGURE_ON=	--enable-tcb=btree
 TOKYOCABINET_MHASH_CONFIGURE_ON=	--enable-tcb=memhash
 TOKYOCABINET_BTREE_LIB_DEPENDS=	libtokyocabinet.so:databases/tokyocabinet
 TOKYOCABINET_MHASH_LIB_DEPENDS=	libtokyocabinet.so:databases/tokyocabinet
+
+post-patch:
+	@${REINPLACE_CMD} -e "s/=ncursesw/=${NCURSES_IMPL}/g" ${WRKSRC}/configure
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list