From ea7aa1b5788c3348fac857b2ac4ef5bace5475f5 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 28 Jan 2016 08:38:01 +0200 Subject: desktop/notion: Fix lookup PREFIX installation. Signed-off-by: Dimitris Zlatanidis --- desktop/notion/system64.patch | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 desktop/notion/system64.patch (limited to 'desktop/notion/system64.patch') diff --git a/desktop/notion/system64.patch b/desktop/notion/system64.patch new file mode 100644 index 0000000000..79d309d038 --- /dev/null +++ b/desktop/notion/system64.patch @@ -0,0 +1,35 @@ +--- notion-3-2015061300/system-autodetect.mk.orig 2016-01-28 07:23:03.582723687 +0200 ++++ notion-3-2015061300/system-autodetect.mk 2016-01-28 07:22:14.593336139 +0200 +@@ -12,7 +12,7 @@ + # Installation path prefix. Unless you know what you're doing, the default + # of /usr/local is likely the correct choice. + #DIST: PREFIX=/usr/local +-PREFIX ?= /usr/local ++PREFIX ?= /usr + + # Unless you are creating a package conforming to some OS's standards, you + # probably do not want to modify the following directories: +@@ -22,11 +22,11 @@ + # Some .lua files and ion-* shell scripts + SHAREDIR=$(PREFIX)/share/notion + # Manual pages +-MANDIR=$(PREFIX)/share/man ++MANDIR=$(PREFIX)/man + # Some documents +-DOCDIR=$(PREFIX)/share/doc/notion ++DOCDIR=$(PREFIX)/doc/notion + # Nothing at the moment +-LIBDIR=$(PREFIX)/lib ++LIBDIR=$(PREFIX)/lib64 + # Modules + MODULEDIR=$(LIBDIR)/notion/mod + # Compiled Lua source code +@@ -40,7 +40,7 @@ + + # Configuration .lua files. Overrideable, as config files are usually + # not placed under $(PREFIX). +-ETCDIR ?= $(PREFIX)/etc/notion ++ETCDIR ?= /etc/notion + + # Force all include files to be installed to /usr even if the + # PREFIX is unset. No header files are installed at the moment -- cgit v1.2.3-80-g2a13