summaryrefslogtreecommitdiff
path: root/graphics/girara/patches/patch-Makefile
blob: 7be845b98ab94e5e9c5bd113a434cb7849911ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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} || \