aboutsummaryrefslogtreecommitdiff
path: root/net/Sockets/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/Sockets/files/patch-Makefile')
-rw-r--r--net/Sockets/files/patch-Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/Sockets/files/patch-Makefile b/net/Sockets/files/patch-Makefile
index f0d93cd6fa6d..07658461d19b 100644
--- a/net/Sockets/files/patch-Makefile
+++ b/net/Sockets/files/patch-Makefile
@@ -21,8 +21,8 @@
install_shared: install shared
@mkdir -p $(DESTDIR)/$(PREFIX)/lib/pkgconfig
-- cp $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib
-- cp -a pkgconfig/*pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig
+- install -m 0644 $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib
+- install -m 0644 pkgconfig/*pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig
+ @${BSD_INSTALL_DATA} $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib
+ @${BSD_INSTALL_DATA} pkgconfig/*pc $(DESTDIR)/$(PREFIX)/libdata/pkgconfig
rm -f $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so