diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-12 18:35:30 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-12 18:35:30 +0200 |
commit | 3d81aa9efffe1a25aced185b289a649b619b7056 (patch) | |
tree | f83754e1b19ab81ed7df6c1a635b5db64751a3c7 /x11/libXaw | |
parent | 4089fb98127a2c70950595d7ef6cae1d65bd75a7 (diff) |
fix handling of libXaw symlinks
Diffstat (limited to 'x11/libXaw')
-rw-r--r-- | x11/libXaw/Makefile | 12 | ||||
-rw-r--r-- | x11/libXaw/pkg/PLIST | 3 |
2 files changed, 13 insertions, 2 deletions
diff --git a/x11/libXaw/Makefile b/x11/libXaw/Makefile index 81f4727..e961be5 100644 --- a/x11/libXaw/Makefile +++ b/x11/libXaw/Makefile @@ -8,7 +8,7 @@ HOMEPAGE = https://gitlab.freedesktop.org/xorg/lib/libxaw MAINTAINER = xenocara@openbsd.org -SHARED_LIBS= Xaw7 15.0 +SHARED_LIBS= Xaw7 15.0 Xaw 15.0 # MIT PERMIT_PACKAGE = Yes @@ -30,6 +30,16 @@ CONFIGURE_STYLE = gnu CONFIGURE_ARGS = --disable-xaw6 \ --without-xmlto --without-fop --without-xsltproc +post-install: + -rm -f $(PREFIX)/lib/libXaw.a + (cd $(PREFIX)/lib && ln -s libXaw7.a libXaw.a && \ + chown -h $(BINOWN):$(BINGRP) libXaw.a ) + # redo link + -rm -f $(PREFIX)/lib/libXaw.so.15.0 + -rm -f $(PREFIX)/lib/libXaw.so.7 + (cd $(PREFIX)/lib && ln -s libXaw7.so.15.0 libXaw.so.15.0 && \ + chown -h $(BINOWN):$(BINGRP) libXaw.so.15.0) + NO_TEST = Yes .include <bsd.port.mk> diff --git a/x11/libXaw/pkg/PLIST b/x11/libXaw/pkg/PLIST index e5380d7..7c04925 100644 --- a/x11/libXaw/pkg/PLIST +++ b/x11/libXaw/pkg/PLIST @@ -71,8 +71,9 @@ include/X11/Xaw/Viewport.h include/X11/Xaw/ViewportP.h include/X11/Xaw/XawImP.h include/X11/Xaw/XawInit.h +@static-lib lib/libXaw.a lib/libXaw.so -lib/libXaw.so.7 +@lib lib/libXaw.so.${LIBXaw_VERSION} @static-lib lib/libXaw7.a lib/libXaw7.la @lib lib/libXaw7.so.${LIBXaw7_VERSION} |