Files
pkgsrc-ng/graphics/girara/patches/patch-Makefile
2016-11-18 22:39:22 +01:00

16 lines
785 B
Plaintext

$NetBSD: patch-Makefile,v 1.1 2016/04/20 06:57:21 leot Exp $
Fix install permissions of shared libraries.
--- Makefile.orig 2016-04-18 20:35:34.000000000 +0000
+++ Makefile
@@ -265,7 +265,7 @@ install-static: static
install-shared: shared
$(call colorecho,INSTALL,"Install shared library")
$(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}
- $(QUIET)install -m 644 ${BUILDDIR_RELEASE}/${BINDIR}/${SOVERSIONFILE} ${DESTDIR}${LIBDIR}
+ $(QUIET)install -m 755 ${BUILDDIR_RELEASE}/${BINDIR}/${SOVERSIONFILE} ${DESTDIR}${LIBDIR}
$(QUIET)ln -sf ${SOVERSIONFILE} ${DESTDIR}${LIBDIR}/${SOMAJORFILE} || \
echo "Failed to create ${SOMAJORFILE}. Please check if it exists and points to the correct version of ${SOFILE}."
$(QUIET)ln -sf ${SOVERSIONFILE} ${DESTDIR}${LIBDIR}/${SOFILE} || \