File: 0001-201_build-config.patch

package info (click to toggle)
notion 3%2B2017050501-1
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 4,892 kB
  • sloc: ansic: 46,866; sh: 2,016; makefile: 553; perl: 270
file content (45 lines) | stat: -rw-r--r-- 1,575 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From: Arnout Engelen <arnouten@bzzt.net>
Date: Fri, 30 Oct 2015 18:58:59 -0700
Subject: 201_build-config

Build options suitable for installation from the official package on Debian
---
 system-autodetect.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/system-autodetect.mk b/system-autodetect.mk
index d78cfa5..65fb8ea 100644
--- a/system-autodetect.mk
+++ b/system-autodetect.mk
@@ -12,7 +12,7 @@ PKG_CONFIG ?= pkg-config
 # 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:
@@ -28,11 +28,11 @@ DOCDIR=$(PREFIX)/share/doc/notion
 # Nothing at the moment
 LIBDIR=$(PREFIX)/lib
 # Modules
-MODULEDIR=$(LIBDIR)/notion/mod
+MODULEDIR=$(LIBDIR)/notion
 # Compiled Lua source code
 LCDIR=$(LIBDIR)/notion/lc
 # ion-completefile (does not belong in SHAREDIR being a binary file)
-EXTRABINDIR=$(LIBDIR)/notion/bin
+EXTRABINDIR=$(LIBDIR)/notion
 # For notion-completeman system-wide cache
 VARDIR=/var/cache/notion
 # Message catalogs
@@ -40,7 +40,7 @@ LOCALEDIR=$(PREFIX)/share/locale
 
 # Configuration .lua files. Overrideable, as config files are usually
 # not placed under $(PREFIX).
-ETCDIR ?= $(PREFIX)/etc/notion
+ETCDIR ?= /etc/X11/notion
 
 # Force all include files to be installed to /usr even if the
 # PREFIX is unset. No header files are installed at the moment