pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/mflteco mflteco: honor CFLAGS/LDFLAGS
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fe93ad26b69
branches: trunk
changeset: 452725:2fe93ad26b69
user: nia <nia%pkgsrc.org@localhost>
date: Fri May 14 14:31:24 2021 +0000
description:
mflteco: honor CFLAGS/LDFLAGS
diffstat:
editors/mflteco/distinfo | 4 +-
editors/mflteco/patches/patch-Makefile | 43 ++++++++++++++++++++++++++++++++++
editors/mflteco/patches/patch-aa | 15 -----------
3 files changed, 45 insertions(+), 17 deletions(-)
diffs (82 lines):
diff -r 7794adb34ee7 -r 2fe93ad26b69 editors/mflteco/distinfo
--- a/editors/mflteco/distinfo Fri May 14 14:27:31 2021 +0000
+++ b/editors/mflteco/distinfo Fri May 14 14:31:24 2021 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:32:18 agc Exp $
+$NetBSD: distinfo,v 1.5 2021/05/14 14:31:24 nia Exp $
SHA1 (mflteco.tar.gz) = d32206d961fa7068afa5a36cf9e688a018622c11
RMD160 (mflteco.tar.gz) = 993ea515f87c17bafc763e3d7dcd55130cf7e83e
SHA512 (mflteco.tar.gz) = b64e0f6d344621faad7db836c7b00569a5ee90f0d2b434e4406db8acdbb93d4f9fba213d063a530fc04b0816006af1d712c13e0117d8bf6fef9979b5cd0173e3
Size (mflteco.tar.gz) = 80566 bytes
-SHA1 (patch-aa) = 5dc29c16e9359a13869eb77d5a22bad70d1758ce
+SHA1 (patch-Makefile) = de25d6c3f7f0ab2bbaa69fded66cace2495b154e
SHA1 (patch-ab) = 2cbe2704775cdadbffadd24d9473a8707fd004e9
SHA1 (patch-ac) = 756afc8dc0cd82112f5b23731158fe64ae6b328c
SHA1 (patch-ad) = 48abfc5681209efedac5a1bda9c03371a0f85760
diff -r 7794adb34ee7 -r 2fe93ad26b69 editors/mflteco/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/mflteco/patches/patch-Makefile Fri May 14 14:31:24 2021 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-Makefile,v 1.1 2021/05/14 14:31:24 nia Exp $
+
+Add defines for standard things.
+
+--- Makefile.orig 2021-05-14 14:27:30.831013017 +0000
++++ Makefile
+@@ -5,30 +5,30 @@
+ # te_sunw makes teco to run in a Sun window
+ # te_tool makes teco to run either in its own window (TECOtool) or in a Sun window
+ # tt makes TECOtool
+-CDF=-O -DMCH
++CDF=$(CFLAGS) -DMCH -DWAITRET_INT -DPOSIX_TECO
+
+ te: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd.o te_exec0.o te_exec1.o te_exec2.o \
+ te_srch.o te_chario.o te_window.o te_fxstub.o
+- cc $(CDF) -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd.o te_exec0.o te_exec1.o te_exec2.o \
++ cc $(LDFLAGS) -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd.o te_exec0.o te_exec1.o te_exec2.o \
+ te_srch.o te_chario.o te_window.o te_fxstub.o -ltermcap
+
+ te_sun: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
+ te_exec2.o te_srch.o te_chario_sun.o te_window.o te_fxstub.o
+- cc -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
++ cc $(LDFLAGS) -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
+ te_exec2.o te_srch.o te_chario_sun.o te_window.o te_fxstub.o -ltermcap
+
+ te_sunw: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
+ te_exec2.o te_srch.o te_chario_sunw.o te_window_sun.o te_fxstub.o
+- cc -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
++ cc $(LDFLAGS) -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
+ te_exec2.o te_srch.o te_chario_sunw.o te_window_sun.o te_fxstub.o -ltermcap
+
+ te_tool: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_tt.o te_exec0.o te_exec1.o \
+ te_exec2_tt.o te_srch.o te_chario_tt.o te_window_tt.o te_fxstub.o
+- cc -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_tt.o te_exec0.o te_exec1.o \
++ cc $(LDFLAGS) -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_tt.o te_exec0.o te_exec1.o \
+ te_exec2_tt.o te_srch.o te_chario_tt.o te_window_tt.o te_fxstub.o -lsuntool -lsunwindow -lpixrect -ltermcap -ltermcap
+
+ tt: tecotool.c teco.icon
+- cc -o tt -I/usr/openwin/include -O tecotool.c -lsuntool -lsunwindow -lpixrect -ltermcap
++ cc $(LDFLAGS) -o tt -I/usr/openwin/include -O tecotool.c -lsuntool -lsunwindow -lpixrect -ltermcap
+
+ te_chario.o: te_defs.h te_chario.c
+ cc -c $(CDF) te_chario.c
diff -r 7794adb34ee7 -r 2fe93ad26b69 editors/mflteco/patches/patch-aa
--- a/editors/mflteco/patches/patch-aa Fri May 14 14:27:31 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2012/12/27 06:13:20 dholland Exp $
-
-- add defines to enable standard things
-
---- Makefile.orig 2005-12-28 22:07:58.000000000 +0100
-+++ Makefile
-@@ -5,7 +5,7 @@
- # te_sunw makes teco to run in a Sun window
- # te_tool makes teco to run either in its own window (TECOtool) or in a Sun window
- # tt makes TECOtool
--CDF=-O -DMCH
-+CDF=-O -DMCH -DWAITRET_INT -DPOSIX_TECO
-
- te: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd.o te_exec0.o te_exec1.o te_exec2.o \
- te_srch.o te_chario.o te_window.o te_fxstub.o
Home |
Main Index |
Thread Index |
Old Index