Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2019 16:36:24 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521010 - head/security/kc24
Message-ID:  <201912271636.xBRGaOai099480@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 16:36:23 2019
New Revision: 521010
URL: https://svnweb.freebsd.org/changeset/ports/521010

Log:
  Add missing USES=ncurses
  Ensure the package is built against the proper version of ncurses

Modified:
  head/security/kc24/Makefile

Modified: head/security/kc24/Makefile
==============================================================================
--- head/security/kc24/Makefile	Fri Dec 27 16:32:49 2019	(r521009)
+++ head/security/kc24/Makefile	Fri Dec 27 16:36:23 2019	(r521010)
@@ -33,7 +33,7 @@ LIBEDIT_MAKE_ENV+=	EDITLINE=y
 READLINE_USES=		readline
 READLINE_MAKE_ENV+=	READLINE=y
 
-USES+=			pkgconfig ssl uidfix
+USES+=			pkgconfig ncurses ssl uidfix
 USE_GITHUB=		yes
 GH_ACCOUNT=		levaidaniel
 
@@ -42,6 +42,6 @@ PLIST_FILES=		bin/kc man/man1/kc.1.gz
 MAKE_ENV+=		BUNDLED_BCRYPT=y
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|pkg-config|${LOCALBASE}/bin/pkgconf|' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|-lncursesw|-l${NCURSES_IMPL}|' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912271636.xBRGaOai099480>