summaryrefslogtreecommitdiff
path: root/lib/libkrb5
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2003-05-15 05:32:55 +0000
committerHans Insulander <hin@cvs.openbsd.org>2003-05-15 05:32:55 +0000
commit5e053a250dfc9bea8d51f266e1152876b0418535 (patch)
tree5f3844599a2a9805a33f334354aeb6b5409be9f6 /lib/libkrb5
parentf558326697bfdc4581963259eaa33dd055cfa168 (diff)
Install symlinks for libkafs, libasn1 and libhdb so that 3rd party
applications that really insist on finding them won't break. ok millert@
Diffstat (limited to 'lib/libkrb5')
-rw-r--r--lib/libkrb5/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/libkrb5/Makefile b/lib/libkrb5/Makefile
index 5223362027e..058bbaf43b8 100644
--- a/lib/libkrb5/Makefile
+++ b/lib/libkrb5/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2003/05/15 04:16:10 hin Exp $
+# $OpenBSD: Makefile,v 1.4 2003/05/15 05:32:54 hin Exp $
KRB5DIR= ${.CURDIR}/../../kerberosV
.include "Makefile.common.inc"
@@ -14,7 +14,6 @@ LIB = krb5
.include "Makefile.krb5.inc"
includes:
- pwd
@for i in $(INCLUDE_FILES); do \
j="cmp -s $$i ${DESTDIR}/usr/include/kerberosV/$$i || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
@@ -24,5 +23,16 @@ includes:
eval "$$j"; \
done
+SHLIB_LINKS = kafs asn1
+ALIB_LINKS = $(SHLIB_LINKS) hdb
+
+afterinstall:
+ for f in $(SHLIB_LINKS); do \
+ ln -f lib$(LIB).so.$(SHLIB_MAJOR).$(SHLIB_MINOR) \
+ $(DESTDIR)$(LIBDIR)/lib$$f.so.$(SHLIB_MAJOR).$(SHLIB_MINOR) ;\
+ done
+ for f in $(ALIB_LINKS); do \
+ ln -f lib$(LIB).a $(DESTDIR)$(LIBDIR)/lib$$f.a ; \
+ done
.include <bsd.lib.mk>