File: fix-prefix.patch

package info (click to toggle)
gkrellweather 2.0.8-2.2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 240 kB
  • sloc: ansic: 881; perl: 92; makefile: 78
file content (18 lines) | stat: -rw-r--r-- 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Roland Hieber <rohieb@rohieb.name>
Subject: set PREFIX to /usr, not /usr/local
 A distribution package should not need to refer to /usr/local at all.
 Specifically, this default leads to GrabWeather being searched in /usr/local,
 where it is obviously not installed.
Forwarded: not-needed

--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 CFLAGS += -O2 -std=gnu99 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
 LIBS = `pkg-config gtk+-2.0 --libs`
 LDFLAGS += -shared
-PREFIX = /usr/local
+PREFIX = /usr
 
 LOCALEDIR := $(PREFIX)/share/locale