diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-10-02 19:11:17 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-10-02 19:11:17 +0000 |
commit | 430a14bc6ca2a3364464291f5518dff4535b3123 (patch) | |
tree | 96619f26e0dbd8b347e19f13051ca1844b580030 /lib | |
parent | 08d778af794d6250ce8ecf6cdb399754fc63646b (diff) |
Fix installation of libXaw.so.15.0 link.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libXaw/Makefile.bsd-wrapper | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libXaw/Makefile.bsd-wrapper b/lib/libXaw/Makefile.bsd-wrapper index 551ca2341..dd84eb593 100644 --- a/lib/libXaw/Makefile.bsd-wrapper +++ b/lib/libXaw/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.12 2016/10/02 17:16:31 matthieu Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.13 2016/10/02 19:11:16 matthieu Exp $ SHARED_LIBS= Xaw7 15.0 @@ -8,9 +8,11 @@ afterinstall: -rm -f $(DESTDIR)$(LIBDIR)/libXaw.a (cd $(DESTDIR)$(LIBDIR) && ln -s libXaw7.a libXaw.a && \ chown -h $(BINOWN):$(BINGRP) libXaw.a ) - # rename link - mv $(DESTDIR)$(LIBDIR)/libXaw.so.7 $(DESTDIR)$(LIBDIR)/libXaw.so.15.0 - chown -h $(BINOWN):$(BINGRP) $(DESTDIR)$(LIBDIR)/libXaw.so.15.0 + # redo link + -rm -f $(DESTDIR)$(LIBDIR)/libXaw.so.15.0 + -rm -f $(DESTDIR)$(LIBDIR)/libXaw.so.7 + (cd $(DESTDIR)$(LIBDIR) && ln -s libXaw7.so.15.0 libXaw.so.15.0 && \ + chown -h $(BINOWN):$(BINGRP) libXaw.so.15.0) .include <bsd.xorg.mk> .include <bsd.own.mk> |