devel/clthreads: Fix bug that symlink with name equal to SONAME wasn't installed
This commit is contained in:
parent
5d22a6665b
commit
c6ccf4f343
2 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue