void-packages/srcpkgs/stk/patches/lib-include-dir.patch
Đoàn Trần Công Danh 9de6a9e7fb stk: fix ftbfs, reconfigure libexecdir
We installed those files into /usr/libexec/stk for a long time.
2021-01-18 19:39:51 +01:00

21 lines
764 B
Diff

--- src/Makefile.in.orig 2021-01-18 20:34:19.338872822 +0700
+++ src/Makefile.in 2021-01-18 20:35:11.314028147 +0700
@@ -93,13 +93,13 @@
$(LN) -s @sharedname@ $(SHAREDLIB)
install-headers:
- install -d $(DESTDIR)$(PREFIX)$(INCLUDEDIR)/stk
- cp -R ../include/*.h $(DESTDIR)$(PREFIX)$(INCLUDEDIR)/stk
+ install -d $(DESTDIR)$(INCLUDEDIR)/stk
+ cp -R ../include/*.h $(DESTDIR)$(INCLUDEDIR)/stk
install: $(SHAREDLIB) install-headers
- install -d $(DESTDIR)$(PREFIX)$(LIBDIR)
- install -m 644 @sharedname@ $(DESTDIR)$(PREFIX)$(LIBDIR)
- ln -sf @sharedname@ $(DESTDIR)$(PREFIX)$(LIBDIR)/$(SHAREDLIB)
+ install -d $(DESTDIR)$(LIBDIR)
+ install -m 644 @sharedname@ $(DESTDIR)$(LIBDIR)
+ ln -sf @sharedname@ $(DESTDIR)$(LIBDIR)/$(SHAREDLIB)
$(OBJECTS) : Stk.h