diff options
author | nia <nia@pkgsrc.org> | 2021-05-14 14:22:04 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-05-14 14:22:04 +0000 |
commit | 01f476ee83c34a9abb9cc011b15c909f0f10c277 (patch) | |
tree | 910b0fc8f72023a3656c425611e39e5b4a7dcd10 /editors/tweak/patches/patch-Makefile | |
parent | 82e2b96df34d51e5b7e5724599e620fdd71971ee (diff) | |
download | pkgsrc-01f476ee83c34a9abb9cc011b15c909f0f10c277.tar.gz |
tweak: honor CFLAGS/LDFLAGS
Diffstat (limited to 'editors/tweak/patches/patch-Makefile')
-rw-r--r-- | editors/tweak/patches/patch-Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/editors/tweak/patches/patch-Makefile b/editors/tweak/patches/patch-Makefile index c533fdf8066..657a59fdb34 100644 --- a/editors/tweak/patches/patch-Makefile +++ b/editors/tweak/patches/patch-Makefile @@ -1,11 +1,20 @@ -$NetBSD: patch-Makefile,v 1.4 2020/01/28 13:23:32 fcambus Exp $ +$NetBSD: patch-Makefile,v 1.5 2021/05/14 14:22:04 nia Exp $ DESTDIR and curses support. --- Makefile.orig 2016-03-22 21:12:51.000000000 +0000 +++ Makefile -@@ -22,9 +22,10 @@ LINK := gcc - LFLAGS := +@@ -16,15 +16,15 @@ + # number in tweak.h, or else the resulting binary won't match + # the version number on the archive. + +-CC := gcc +-CFLAGS := -g -c -Wall $(XFLAGS) +-LINK := gcc +-LFLAGS := ++CFLAGS += -c -Wall $(XFLAGS) ++LINK := $(CC) ++LFLAGS := $(LDFLAGS) LIBS := +DESTDIR= @@ -17,7 +26,7 @@ DESTDIR and curses support. TWEAK := main.o keytab.o actions.o search.o rcfile.o buffer.o btree.o -@@ -34,7 +35,7 @@ ifeq ($(SLANG),yes) +@@ -34,7 +34,7 @@ ifeq ($(SLANG),yes) LIBS += -lslang TWEAK += slang.o else |