mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
33 lines
952 B
Plaintext
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
|
|
|