diff options
Diffstat (limited to 'sys-process/atop/files/atop-2.4.0-build.patch')
-rw-r--r-- | sys-process/atop/files/atop-2.4.0-build.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-process/atop/files/atop-2.4.0-build.patch b/sys-process/atop/files/atop-2.4.0-build.patch new file mode 100644 index 000000000000..73fd41691299 --- /dev/null +++ b/sys-process/atop/files/atop-2.4.0-build.patch @@ -0,0 +1,22 @@ +--- atop-2.4.0/Makefile ++++ atop-2.4.0/Makefile +@@ -33,16 +33,16 @@ + + atop: atop.o $(ALLMODS) Makefile + $(CC) -c version.c +- $(CC) atop.o $(ALLMODS) -o atop -lncurses -lz -lm -lrt $(LDFLAGS) ++ $(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop $(shell ${PKG_CONFIG} --libs ncurses) -lz -lm -lrt + + atopsar: atop + ln -sf atop atopsar + + atopacctd: atopacctd.o netlink.o +- $(CC) atopacctd.o netlink.o -o atopacctd $(LDFLAGS) ++ $(CC) $(CFLAGS) $(LDFLAGS) atopacctd.o netlink.o -o atopacctd + + atopconvert: atopconvert.o +- $(CC) atopconvert.o -o atopconvert -lz $(LDFLAGS) ++ $(CC) $(CFLAGS) $(LDFLAGS) atopconvert.o -o atopconvert -lz + + netlink.o: netlink.c + $(CC) -I. -Wall -c netlink.c |