Files
haikuports/dev-libs/libtermkey/patches/libtermkey-0.22.patchset
Peter van Dijk 038316c699 libtermkey: new port, version 0.22 (#8141)
vis: new port, version 0.8
2023-04-29 19:41:08 +02:00

33 lines
952 B
Plaintext

From 820c11d74b836236b4ed878b76df794c6ce5a1fb Mon Sep 17 00:00:00 2001
From: Peter van Dijk <peter@7bits.nl>
Date: Sat, 29 Apr 2023 16:37:06 +0200
Subject: add prefix to termkey.pc
diff --git a/Makefile b/Makefile
index 199f143..2c55642 100644
--- a/Makefile
+++ b/Makefile
@@ -112,7 +112,7 @@ install-inc: termkey.h
install -d $(DESTDIR)$(INCDIR)
install -m644 termkey.h $(DESTDIR)$(INCDIR)
install -d $(DESTDIR)$(LIBDIR)/pkgconfig
- LIBDIR=$(LIBDIR) INCDIR=$(INCDIR) VERSION=$(VERSION) sh termkey.pc.sh >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc
+ PREFIX=$(PREFIX) LIBDIR=$(LIBDIR) INCDIR=$(INCDIR) VERSION=$(VERSION) sh termkey.pc.sh >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc
install-lib: $(LIBRARY)
install -d $(DESTDIR)$(LIBDIR)
diff --git a/termkey.pc.sh b/termkey.pc.sh
index 5ee3a76..30b9efa 100644
--- a/termkey.pc.sh
+++ b/termkey.pc.sh
@@ -1,4 +1,5 @@
cat <<EOF
+prefix=$PREFIX
libdir=$LIBDIR
includedir=$INCDIR
--
2.37.3