all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 24cc1c5810aff8547b791a486d2c8c42018e5fa3 870 bytes (raw)
name: gnu/packages/patches/rig-makefile.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
 
diff -ur rig-1.11-orig/Makefile rig-1.11/Makefile
--- rig-1.11-orig/Makefile
+++ rig-1.11/Makefile
@@ -5,16 +5,18 @@
 
 all: rig rig.6
 rig: rig.cc
-	g++ -g rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\""
+	${CXX} -O2 -g rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\""
 
 rig.6: rig.6.in
 	sed s@DATADIR@"$(DATADIR)"@g < rig.6.in > rig.6
 
 install: rig rig.6
-	install -g 0 -m 755 -o 0 -s rig $(BINDIR)
-	install -g 0 -m 644 -o 0 rig.6 $(MANDIR)/man6/rig.6
-	install -g 0 -m 755 -o 0 -d $(DATADIR)
-	install -g 0 -m 644 -o 0 data/*.idx $(DATADIR)
+	install -m 755 -d $(DESTDIR)$(BINDIR)
+	install -m 755 -d $(DESTDIR)$(DATADIR)
+	install -m 755 -d $(DESTDIR)$(MANDIR)/man6/
+	install -m 755 rig $(DESTDIR)$(BINDIR)/rig
+	install -m 644 data/*.idx $(DESTDIR)$(DATADIR)
+	install -m 644 rig.6 $(DESTDIR)$(MANDIR)/man6/rig.6
 
 clean:
 	rm -rf *~ *.rej *.orig *.o rig rig.6

debug log:

solving 24cc1c5810 ...
found 24cc1c5810 in https://yhetil.org/guix/PU1PR01MB21551531EBEAB287FE8EA16C8DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com/

applying [1/1] https://yhetil.org/guix/PU1PR01MB21551531EBEAB287FE8EA16C8DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com/
diff --git a/gnu/packages/patches/rig-makefile.patch b/gnu/packages/patches/rig-makefile.patch
new file mode 100644
index 0000000000..24cc1c5810

1:11: trailing whitespace.
 
1:16: trailing whitespace.
 
1:18: space before tab in indent.
 	sed s@DATADIR@"$(DATADIR)"@g < rig.6.in > rig.6
1:19: trailing whitespace.
 
1:31: trailing whitespace.
 
Checking patch gnu/packages/patches/rig-makefile.patch...
Applied patch gnu/packages/patches/rig-makefile.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 24cc1c5810aff8547b791a486d2c8c42018e5fa3	gnu/packages/patches/rig-makefile.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.