diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-01 03:14:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-01 03:14:33 +0100 |
commit | 0c764edfecb7e9e124d4669acd98bed09e23b6c0 (patch) | |
tree | 2862ab17d2f88cb7c9614b7fbe579f25ae604b8d /app-misc/cpipe/files | |
parent | ae1bf373db295b495e1f685d116e3411bf10df0b (diff) |
gentoo auto-resync : 01:08:2022 - 03:14:32
Diffstat (limited to 'app-misc/cpipe/files')
-rw-r--r-- | app-misc/cpipe/files/cpipe-3.0.3-makefile.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/cpipe/files/cpipe-3.0.3-makefile.patch b/app-misc/cpipe/files/cpipe-3.0.3-makefile.patch new file mode 100644 index 000000000000..d68bb56f2967 --- /dev/null +++ b/app-misc/cpipe/files/cpipe-3.0.3-makefile.patch @@ -0,0 +1,29 @@ +--- a/makefile ++++ b/makefile +@@ -15,14 +15,14 @@ + MANDIR=$(prefix)/man/man1 + + ## Your favorite compiler flags. +-CFLAGS = -O2 -W -Wall -pedantic ++CFLAGS += -W -Wall -pedantic ++LDLIBS = -lm + + VERSION=$(shell cat .version) + ######################################################################## + all: cpipe cpipe.1 + +-cpipe: cpipe.o cmdline.o +- $(CC) -o $@ cpipe.o cmdline.o -lm ++cpipe: cmdline.o + + cpipe.1: cpipe.1.in + sed -e "s/|VERSION|/${VERSION}/g" <cpipe.1.in >cpipe.1 +@@ -37,7 +37,7 @@ + install: cpipe cpipe.1 + mkdir -p $(BINDIR) $(MANDIR) + cp cpipe $(BINDIR); chmod 755 $(BINDIR)/cpipe +- cp cpipe.1 $(MANDIR); chmod 744 $(MANDIR)/cpipe.1 ++ cp cpipe.1 $(MANDIR); chmod 644 $(MANDIR)/cpipe.1 + + uninstall: + -rm $(BINDIR)/cpipe |