git: bc45bb246c23 - main - devel/linenoise: Add SONAME
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Aug 2024 21:28:34 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bc45bb246c23162e4d2f8fc9df6dabb3907c71ff commit bc45bb246c23162e4d2f8fc9df6dabb3907c71ff Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-08-11 21:27:52 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-08-11 21:27:52 +0000 devel/linenoise: Add SONAME --- devel/linenoise/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/devel/linenoise/Makefile b/devel/linenoise/Makefile index 4d6670848bfe..c6a15d42462c 100644 --- a/devel/linenoise/Makefile +++ b/devel/linenoise/Makefile @@ -1,5 +1,6 @@ PORTNAME= linenoise DISTVERSION= 1.0-34 +PORTREVISION= 1 DISTVERSIONSUFFIX= -g93b2db9 CATEGORIES= devel @@ -20,7 +21,13 @@ PLIST_FILES= include/linenoise.h \ do-build: @cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -shared -fPIC linenoise.c -o liblinenoise.so + ${SETENV} ${MAKE_ENV} ${CC} \ + ${CFLAGS} ${LDFLAGS} \ + -shared \ + -fPIC \ + -Wl,-soname=liblinenoise.so \ + linenoise.c \ + -o liblinenoise.so do-install: ${INSTALL_DATA} ${WRKSRC}/linenoise.h ${STAGEDIR}${PREFIX}/include