gentoo-ebuilds/net-misc/lambdamoo/files/lambdamoo-1.8.1-respect-cflags.patch
NHOrus 7b6a0730da
net-misc/lambdamoo: fix configure for C99 porting
Add missing include, fix test program for configure.in

Closes: https://bugs.gentoo.org/927734
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36033
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-06-08 10:49:09 +03:00

24 lines
838 B
Diff

was sed -i Makefile.in -e '/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g'
--- a/Makefile.in 2024-05-09 05:12:18.249018601 -0000
+++ b/Makefile.in 2024-05-09 05:12:20.497004963 -0000
@@ -79,16 +79,16 @@
OBJS = $(COBJS) $(YOBJS)
moo: $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) $(LIBRARIES) -o $@
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBRARIES) -o $@
pure_moo: moo
- purify $(CC) $(CFLAGS) $(OBJS) $(LIBRARIES) -o $@
+ purify $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBRARIES) -o $@
client_bsd: client_bsd.o
- $(CC) $(CFLAGS) client_bsd.o $(LIBRARIES) -o $@
+ $(CC) $(CFLAGS) $(LDFLAGS) client_bsd.o $(LIBRARIES) -o $@
client_sysv: client_sysv.o
- $(CC) $(CFLAGS) client_sysv.o $(LIBRARIES) -o $@
+ $(CC) $(CFLAGS) $(LDFLAGS) client_sysv.o $(LIBRARIES) -o $@
# This rule gets around some "make"s' desire to `derive' it from `restart.sh'.
restart: