Index: head/ports-mgmt/portal/Makefile =================================================================== --- head/ports-mgmt/portal/Makefile (revision 520652) +++ head/ports-mgmt/portal/Makefile (revision 520653) @@ -1,29 +1,32 @@ # $FreeBSD$ PORTNAME= portal PORTVERSION= 0.4 PORTREVISION= 5 CATEGORIES= ports-mgmt MAINTAINER= culot@FreeBSD.org COMMENT= Front-end to pkg(8) LICENSE= BSD2CLAUSE -BROKEN_powerpc64= fails to build: /usr/local/lib/gcc6/include/c++/thread:189: undefined reference to `std::thread::_State::~_State()' - PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz USE_GITHUB= yes GH_ACCOUNT= culot USES= ncurses compiler:c++11-lib + +.include + +.if ${NCURSESLIB} != /usr/lib CFLAGS+= -I${NCURSESINC} LDFLAGS+= -L${NCURSESLIB} +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.include +.include