summaryrefslogtreecommitdiff
path: root/net/krb5
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-12-07 18:47:49 -0800
committerRosen Penev <rosenp@gmail.com>2020-12-07 20:10:13 -0800
commitf995f4485a62a5fb72fe66d9faeaa9ca0c0c0b19 (patch)
treee607498f4bb293f1ba7719ad5aabc1a0e4bd4bb6 /net/krb5
parentea80600e3c390025b617aa8b25382c228f4c5b01 (diff)
krb5: install krb5-config to host
Helps old packages that don't use pkgconfig. Fix prefix paths. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/krb5')
-rw-r--r--net/krb5/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/krb5/Makefile b/net/krb5/Makefile
index 54bf36c59..6ea88b0dd 100644
--- a/net/krb5/Makefile
+++ b/net/krb5/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=krb5
PKG_VERSION:=1.18.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
@@ -102,6 +102,9 @@ define Build/InstallDev
# needed for samba4, to detect system-krb5
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/krb5-config $(1)/usr/bin
+ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(1)/usr/bin/krb5-config
+ $(INSTALL_DIR) $(2)/bin
+ $(LN) ../../usr/bin/krb5-config $(2)/bin/krb5-config
endef
define Package/krb5-libs/install