unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob d835eb981d6267207564af91e79fd7defd689da2 1417 bytes (raw)
name: gnu/packages/patches/ex-vi-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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 
diff -ur ex-050325-orig/Makefile ex-050325/Makefile
--- ex-050325-orig/Makefile
+++ ex-050325/Makefile
@@ -75,11 +75,13 @@
 #	@(#)Makefile	1.50 (gritter) 2/20/05
 #
 
+CC = gcc
+
 #
 # Destinations for installation. $(PRESERVEDIR) is used for recovery files.
 # It will get mode 1777.
 #
-PREFIX		= /usr/local
+PREFIX		= ${out}
 BINDIR		= $(PREFIX)/bin
 LIBEXECDIR	= $(PREFIX)/libexec
 MANDIR		= $(PREFIX)/share/man
@@ -94,7 +96,7 @@
 #
 # A BSD-like install program. GNU install will fit well here, too.
 #
-INSTALL		= /usr/ucb/install
+INSTALL		= install
 
 #
 # Compiler and linker flags.
@@ -205,13 +207,13 @@
 #
 # You may also get terminfo access by using the ncurses library.
 #
-#TERMLIB	= ncurses
+TERMLIB	= ncurses
 #
 # The preferred choice for ex on Linux distributions, other systems that
 # provide a good termcap file, or when setting the TERMCAP environment
 # variable is deemed sufficient, is the included 2.11BSD termcap library.
 #
-TERMLIB	= termlib
+#TERMLIB	= termlib
 
 #
 # Since ex uses sbrk() internally, a conflict with the libc's version of
@@ -330,8 +332,7 @@
 	ln -s ex $(DESTDIR)$(BINDIR)/vedit
 	ln -s ex $(DESTDIR)$(BINDIR)/vi
 	ln -s ex $(DESTDIR)$(BINDIR)/view
-	test -d $(DESTDIR)$(PRESERVEDIR) || mkdir -p $(DESTDIR)$(PRESERVEDIR)
-	chmod 1777 $(DESTDIR)$(PRESERVEDIR)
+
 
 ex.o: config.h ex_argv.h ex.h ex_proto.h ex_temp.h ex_tty.h ex_tune.h
 ex.o: ex_vars.h libterm/libterm.h

debug log:

solving d835eb981d ...
found d835eb981d in https://yhetil.org/guix-patches/PU1PR01MB2155260D25FB2A261FBF45F18DB19@PU1PR01MB2155.apcprd01.prod.exchangelabs.com/

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

1:13: trailing whitespace.
 
1:31: trailing whitespace.
 
1:47: trailing whitespace.
 
1:51: space before tab in indent.
 	ln -s ex $(DESTDIR)$(BINDIR)/vedit
1:52: space before tab in indent.
 	ln -s ex $(DESTDIR)$(BINDIR)/vi
Checking patch gnu/packages/patches/ex-vi-makefile.patch...
Applied patch gnu/packages/patches/ex-vi-makefile.patch cleanly.
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.

index at:
100644 d835eb981d6267207564af91e79fd7defd689da2	gnu/packages/patches/ex-vi-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 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).