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: