unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 189ca41f342a9014833bc16d76ade79c74598739 1011 bytes (raw)
name: gnu/packages/patches/librep-rules.mk.patch 	 # note: path name is non-authoritative(*)

 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
 
rules.mk.in: Don't set prefix, datadir, libdir, datarootdir and repdir.
rules.mk.in: Use pkg-config to get the absolute path for repcommonexedir.

Meregd into upstream: <https://github.com/SawfishWM/librep/commit/a1f2db721aa5055e90f6a76fde625946340ed8cf>.

--- librep_0.92.4.orig/rules.mk.in	2015-01-31 23:21:59.614751496 +0800
+++ librep_0.92.4/rules.mk.in	2015-02-02 18:56:55.097171657 +0800
@@ -1,18 +1,10 @@
 # rules.mk
 
-prefix=@prefix@
-datadir=@datadir@
-libdir=@libdir@
+repcommonexecdir?=$(shell pkg-config --variable=repcommonexecdir librep)
+rpath_repcommonexecdir:=$(repcommonexecdir)
 
-# shut up configure
-datarootdir=@datarootdir@
-
-repdir=@repdir@
-repcommonexecdir=@repcommonexecdir@
-rpath_repcommonexecdir=@repcommonexecdir@
-
-rep_LIBTOOL=$(repcommonexecdir)/libtool --tag CC
-rep_INSTALL_ALIASES=$(repcommonexecdir)/install-aliases
+rep_LIBTOOL:=$(repcommonexecdir)/libtool --tag CC
+rep_INSTALL_ALIASES:=$(repcommonexecdir)/install-aliases
 
 # use this like:
 # foo.la : foo.lo bar.lo

debug log:

solving 189ca41 ...
found 189ca41 in https://yhetil.org/guix-devel/1422878431-20718-1-git-send-email-iyzsong@gmail.com/

applying [1/1] https://yhetil.org/guix-devel/1422878431-20718-1-git-send-email-iyzsong@gmail.com/
diff --git a/gnu/packages/patches/librep-rules.mk.patch b/gnu/packages/patches/librep-rules.mk.patch
new file mode 100644
index 0000000..189ca41

1:16: trailing whitespace.
 
1:22: trailing whitespace.
 
1:34: trailing whitespace.
 
Checking patch gnu/packages/patches/librep-rules.mk.patch...
Applied patch gnu/packages/patches/librep-rules.mk.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 189ca41f342a9014833bc16d76ade79c74598739	gnu/packages/patches/librep-rules.mk.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).