git: c6ccf4f343d0 - main - devel/clthreads: Fix bug that symlink with name equal to SONAME wasn't installed

Yuri Victorovich yuri at FreeBSD.org
Mon Jun 14 21:41:15 UTC 2021


The branch main has been updated by yuri:

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

commit c6ccf4f343d0431ccdaa2dc4367ac6b46c54c275
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-06-14 21:26:05 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-06-14 21:41:12 +0000

    devel/clthreads: Fix bug that symlink with name equal to SONAME wasn't installed
---
 devel/clthreads/Makefile             | 2 ++
 devel/clthreads/files/patch-Makefile | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/devel/clthreads/Makefile b/devel/clthreads/Makefile
index 2dbe673215b2..0749b4140857 100644
--- a/devel/clthreads/Makefile
+++ b/devel/clthreads/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	clthreads
 DISTVERSION=	2.4.2
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://kokkinizita.linuxaudio.org/linuxaudio/downloads/
 
@@ -16,6 +17,7 @@ WRKSRC_SUBDIR=	source
 
 PLIST_FILES=	include/clthreads.h \
 		lib/libclthreads.so \
+		lib/libclthreads.so.${DISTVERSION:R:R} \
 		lib/libclthreads.so.${DISTVERSION}
 
 post-install:
diff --git a/devel/clthreads/files/patch-Makefile b/devel/clthreads/files/patch-Makefile
index 922d3f7f2b9a..694fe6a8ed25 100644
--- a/devel/clthreads/files/patch-Makefile
+++ b/devel/clthreads/files/patch-Makefile
@@ -21,7 +21,7 @@
  LDLFAGS += 
  LDLIBS +=
  
-@@ -45,17 +44,15 @@ CLTHREADS_DEP = -lpthread
+@@ -45,17 +44,16 @@ CLTHREADS_DEP = -lpthread
  CLTHREADS_O = p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o
  CLTHREADS_H = clthreads.h
  
@@ -37,6 +37,7 @@
  	install -m 644 $(CLTHREADS_H) $(DESTDIR)$(INCDIR)
  	install -m 755 $(CLTHREADS_MIN) $(DESTDIR)$(LIBDIR)
 -	ldconfig
++	ln -sf $(CLTHREADS_MIN) $(DESTDIR)$(LIBDIR)/$(CLTHREADS_MAJ)
  	ln -sf $(CLTHREADS_MIN) $(DESTDIR)$(LIBDIR)/$(CLTHREADS_SO)
  
  uninstall:


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