git: 6ee810855aca - main - devel/lfcbase: add missing USES=ncurses

Baptiste Daroussin bapt at FreeBSD.org
Fri Sep 24 13:11:57 UTC 2021


The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ee810855acaf9e1ac220ea30ca1bdd9315e5e4b

commit 6ee810855acaf9e1ac220ea30ca1bdd9315e5e4b
Author:     Baptiste Daroussin <bapt at FreeBSD.org>
AuthorDate: 2021-09-24 09:03:33 +0000
Commit:     Baptiste Daroussin <bapt at FreeBSD.org>
CommitDate: 2021-09-24 13:11:52 +0000

    devel/lfcbase: add missing USES=ncurses
    
    While here, drop the regeneration of the configure script which is not
    necessary, use INSTALL_TARGET to call the install-strip target provided
    by the autotools, instead of manually stripping.
---
 devel/lfcbase/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/devel/lfcbase/Makefile b/devel/lfcbase/Makefile
index 3574a3073605..5bd68ab50070 100644
--- a/devel/lfcbase/Makefile
+++ b/devel/lfcbase/Makefile
@@ -10,12 +10,10 @@ LICENSE=	GPLv3
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USES=		autoreconf libtool
+USES=		libtool ncurses
+INSTALL_TARGET=	install-strip
 
 post-patch:
 	${REINPLACE_CMD} 's|-O3||g' ${WRKSRC}/src/Makefile.in
 
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblfcbase.so.2
-
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list