From 5e053a250dfc9bea8d51f266e1152876b0418535 Mon Sep 17 00:00:00 2001 From: Hans Insulander Date: Thu, 15 May 2003 05:32:55 +0000 Subject: Install symlinks for libkafs, libasn1 and libhdb so that 3rd party applications that really insist on finding them won't break. ok millert@ --- lib/libkrb5/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3