aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <floss@bsd.ac>2021-05-11 13:47:51 +0000
committerAisha Tammy <floss@bsd.ac>2021-05-11 13:48:25 +0000
commit351a7a9324f55ed3633ca1a3350701b188d4dabb (patch)
tree2a9a30f67887381957e20b000a9729f2ebfecbc2 /net-libs
parentdev-libs/octetos-db-maria: fix DuplicateEclassInherit (diff)
downloadguru-351a7a9324f55ed3633ca1a3350701b188d4dabb.tar.gz
guru-351a7a9324f55ed3633ca1a3350701b188d4dabb.tar.bz2
guru-351a7a9324f55ed3633ca1a3350701b188d4dabb.zip
net-libs/usockets: rename pkgconfig file
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Aisha Tammy <floss@bsd.ac>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/usockets/files/usockets-0.7.1-Makefile.patch8
-rw-r--r--net-libs/usockets/usockets-0.7.1_p20210214-r2.ebuild (renamed from net-libs/usockets/usockets-0.7.1_p20210214-r1.ebuild)0
2 files changed, 4 insertions, 4 deletions
diff --git a/net-libs/usockets/files/usockets-0.7.1-Makefile.patch b/net-libs/usockets/files/usockets-0.7.1-Makefile.patch
index f1ed03b5a..2d3a47d29 100644
--- a/net-libs/usockets/files/usockets-0.7.1-Makefile.patch
+++ b/net-libs/usockets/files/usockets-0.7.1-Makefile.patch
@@ -86,7 +86,7 @@ index 9b54cac..a610bcc 100644
+ $(AR) rvs libusockets.a *.o
+ $(CC) -shared -o $(LIBTARGET) *.o -Wl,-soname,$(LIBTARGET) `$(PKG_CONFIG) --libs $(REQUIRES)` $(LDFLAGS)
+ sed -e "s:@PREFIX@:$(prefix):" -e "s:@REQUIRES@:$(REQUIRES):" \
-+ -e "s:@LIB@:$(LIB):" -e "s:@VERSION@:$(VERSION):" usockets.pc.in > usockets.pc
++ -e "s:@LIB@:$(LIB):" -e "s:@VERSION@:$(VERSION):" libusockets.pc.in > libusockets.pc
+
+install:
+ install -d "$(DESTDIR)$(libdir)/pkgconfig" "$(DESTDIR)$(includedir)"
@@ -94,7 +94,7 @@ index 9b54cac..a610bcc 100644
+ install -m 755 $(LIBTARGET) "$(DESTDIR)$(libdir)"
+ ln -sf $(LIBTARGET) "$(DESTDIR)$(libdir)/libusockets.so"
+ install -m 755 libusockets.a "$(DESTDIR)$(libdir)/"
-+ install -m 644 usockets.pc "$(DESTDIR)$(libdir)/pkgconfig/"
++ install -m 644 libusockets.pc "$(DESTDIR)$(libdir)/pkgconfig/"
clean:
rm -f *.o
@@ -104,11 +104,11 @@ index 9b54cac..a610bcc 100644
+ rm -f libusockets.pc
+
+.PHONY: default install clean
-diff --git a/usockets.pc.in b/usockets.pc.in
+diff --git a/libusockets.pc.in b/libusockets.pc.in
new file mode 100644
index 0000000..b818020
--- /dev/null
-+++ b/usockets.pc.in
++++ b/libusockets.pc.in
@@ -0,0 +1,12 @@
+prefix=@PREFIX@
+libdir=${prefix}/@LIB@
diff --git a/net-libs/usockets/usockets-0.7.1_p20210214-r1.ebuild b/net-libs/usockets/usockets-0.7.1_p20210214-r2.ebuild
index d7d107c8c..d7d107c8c 100644
--- a/net-libs/usockets/usockets-0.7.1_p20210214-r1.ebuild
+++ b/net-libs/usockets/usockets-0.7.1_p20210214-r2.ebuild