mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
a78edc2553
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
29 lines
1.4 KiB
Diff
29 lines
1.4 KiB
Diff
From a30b8fce66a3db9f1194fede30a48424ed3d696b Mon Sep 17 00:00:00 2001
|
|
From: Boian Bonev <bbonev@ipacct.com>
|
|
Date: Tue, 21 Sep 2021 03:36:23 +0300
|
|
Subject: [PATCH] fix problems with install
|
|
|
|
---
|
|
Makefile.main | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/Makefile.main b/Makefile.main
|
|
index 235bb0a..e88af51 100644
|
|
--- a/Makefile.main
|
|
+++ b/Makefile.main
|
|
@@ -108,12 +108,12 @@ yascreen.pc: yascreen.pc.in
|
|
|
|
install: libyascreen.a libyascreen.so yascreen.pc yascreen.3
|
|
$(INSTALL) -Ds -m 644 -t $(DESTDIR)$(PREFIX)$(LIBDIR) libyascreen.a
|
|
- $(INSTALL) -Ds -m 644 -t $(DESTDIR)$(PREFIX)$(LIBDIR)/pkgconfig/ yascreen.pc
|
|
+ $(INSTALL) -D -m 644 -t $(DESTDIR)$(PREFIX)$(LIBDIR)/pkgconfig/ yascreen.pc
|
|
ln -fs libyascreen.so.$(SOVERF) $(DESTDIR)$(PREFIX)$(LIBDIR)libyascreen.so.$(SOVERM)
|
|
ln -fs libyascreen.so.$(SOVERM) $(DESTDIR)$(PREFIX)$(LIBDIR)libyascreen.so
|
|
$(INSTALL) -Ds -m 644 -s -t $(DESTDIR)$(PREFIX)$(LIBDIR) libyascreen.so.$(SOVERF)
|
|
- $(INSTALL) -Ds -m 644 -t $(DESTDIR)$(PREFIX)$(INCDIR) yascreen.h
|
|
- $(INSTALL) -TDs -m 0644 yascreen.3 $(DESTDIR)$(PREFIX)/share/man/man3/yascreen.3
|
|
+ $(INSTALL) -D -m 644 -t $(DESTDIR)$(PREFIX)$(INCDIR) yascreen.h
|
|
+ $(INSTALL) -TD -m 0644 yascreen.3 $(DESTDIR)$(PREFIX)/share/man/man3/yascreen.3
|
|
|
|
clean:
|
|
rm -f yastest yastest.shared yastest.o yascreen.o libyascreen.a libyascreen.so libyascreen.so.$(SOVERM) libyascreen.so.$(SOVERF) yascreen.pc
|