aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libselinux/symlink.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-02-07 20:00:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-02-07 20:02:33 +0000
commit44f8646a925c3c7070e7e0f1cb5811c54b1c105c (patch)
tree3f2d87bcb00b102c27a74e666ba4fcd270354f80 /testing/libselinux/symlink.patch
parent9a8f66b0a2f615085618750f15f8259c7357cefa (diff)
downloadaports-44f8646a925c3c7070e7e0f1cb5811c54b1c105c.tar.bz2
aports-44f8646a925c3c7070e7e0f1cb5811c54b1c105c.tar.xz
testing/libselinux: new aport
SELinux library and simple utilities https://github.com/SELinuxProject/selinux/wiki
Diffstat (limited to 'testing/libselinux/symlink.patch')
-rw-r--r--testing/libselinux/symlink.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/libselinux/symlink.patch b/testing/libselinux/symlink.patch
new file mode 100644
index 0000000000..b77264f2f9
--- /dev/null
+++ b/testing/libselinux/symlink.patch
@@ -0,0 +1,11 @@
+--- ./src/Makefile.orig
++++ ./src/Makefile
+@@ -151,7 +151,7 @@
+ install -m 755 $(LIBSO) $(SHLIBDIR)
+ test -d $(LIBDIR)/pkgconfig || install -m 755 -d $(LIBDIR)/pkgconfig
+ install -m 644 $(LIBPC) $(LIBDIR)/pkgconfig
+- ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
++ ln -sf $(LIBSO) $(LIBDIR)/$(TARGET)
+
+ install-pywrap: pywrap
+ test -d $(PYLIBDIR)/site-packages/selinux || install -m 755 -d $(PYLIBDIR)/site-packages/selinux