pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nnn: Revert CPPFLAGS patch



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <ik%sjmulder.nl@localhost>
Pushed By:	sjmulder
Date:		Mon Dec 17 09:52:08 2018 +0100
Changeset:	4c415c07b6b03d9c50631edccfbe4bc759e7c54b

Modified Files:
	nnn/distinfo
	nnn/patches/patch-Makefile

Log Message:
nnn: Revert CPPFLAGS patch

Mistook CPPFLAGS for CXXFLAGS

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4c415c07b6b03d9c50631edccfbe4bc759e7c54b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nnn/distinfo               |  2 +-
 nnn/patches/patch-Makefile | 14 --------------
 2 files changed, 1 insertion(+), 15 deletions(-)

diffs:
diff --git a/nnn/distinfo b/nnn/distinfo
index 5d3d9d7380..3af0c1e408 100644
--- a/nnn/distinfo
+++ b/nnn/distinfo
@@ -4,4 +4,4 @@ SHA1 (nnn-2.1.tar.gz) = 033413269dd31604c188fe4d1cd798290a071bac
 RMD160 (nnn-2.1.tar.gz) = ac391618655cfc6c1d3a605cc4b3c4218c5cc074
 SHA512 (nnn-2.1.tar.gz) = 4ce20944df613706545cffb70896b9c494ed0304a591b1ffdae4886ac3783c2c1ab321b336b9873bd8b1382bc9c6ae8e0226f7abb98fb461ed64b28e1302d8f2
 Size (nnn-2.1.tar.gz) = 48481 bytes
-SHA1 (patch-Makefile) = 93c64a8f2ff2034c464a0da7378f5a548fa38fd5
+SHA1 (patch-Makefile) = df888894fd091e6a57ceb46aeb3443a369e1c79d
diff --git a/nnn/patches/patch-Makefile b/nnn/patches/patch-Makefile
index 13d6dfe7bd..2a074ac076 100644
--- a/nnn/patches/patch-Makefile
+++ b/nnn/patches/patch-Makefile
@@ -1,6 +1,5 @@
 $NetBSD$
 
- - Remove CPPFLAGS since C++ is not used
  - Make curses flags configurable
  - Also use pkg-config for regular ncurses
  - Make optimization flags configurable
@@ -40,16 +39,3 @@ https://github.com/jarun/nnn/pull/166
  DISTFILES = src nnn.1 Makefile README.md LICENSE
  SRC = src/nnn.c
  BIN = nnn
-@@ -25,10 +33,10 @@ all: $(BIN)
- $(SRC): src/nnn.h
- 
- $(BIN): $(SRC)
--	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
-+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
- 
- debug: $(SRC)
--	$(CC) -DDEBUGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
-+	$(CC) -DDEBUGMODE -g $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
- 
- install: all
- 	$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin


Home | Main Index | Thread Index | Old Index