diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-23 12:24:21 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-23 12:24:21 +0000 |
commit | 540662a45772c921857e51c29031d8bce7b18172 (patch) | |
tree | 57079510a401b60f2ba3f7cfb6971c3625d616b1 /mail/mboxgrep/files/patch-src_Makefile.in | |
parent | devel/golangci-lint: Update to 1.31.0 (diff) |
Fix build with -fno-common
Since files that are patched in legacy patch files are affected, all
patches are regenerated with make makepatch.
In order to have makepatch operate on only the patched sources without the
result of RE_INPLACE being integrated into the patch files, move the
in-place editing of sources from post-patch to pre-build.
Notes
Notes:
svn path=/head/; revision=549719
Diffstat (limited to 'mail/mboxgrep/files/patch-src_Makefile.in')
-rw-r--r-- | mail/mboxgrep/files/patch-src_Makefile.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/mboxgrep/files/patch-src_Makefile.in b/mail/mboxgrep/files/patch-src_Makefile.in new file mode 100644 index 000000000000..0e71264bbe1e --- /dev/null +++ b/mail/mboxgrep/files/patch-src_Makefile.in @@ -0,0 +1,28 @@ +--- src/Makefile.in.orig 2003-03-30 23:07:10 UTC ++++ src/Makefile.in +@@ -21,12 +21,12 @@ srcdir = @srcdir@ + + CC = @CC@ + OBJS = info.o main.o mh.o scan.o maildir.o mbox.o misc.o \ +- wrap.o getopt.o getopt1.o md5.o ++ wrap.o + SRCS = info.c main.c mh.c scan.c maildir.c mbox.c misc.c \ +- wrap.c getopt.c getopt1.c md5.c ++ wrap.c + TARGET = mboxgrep + CFLAGS = @CFLAGS@ +-LIBS = @LIBS@ ++LIBS = @LIBS@ -lcrypto + INSTALL = @INSTALL@ + prefix = @prefix@ + SHELL = /bin/sh +@@ -51,7 +51,7 @@ distclean: + + .PHONY: install + install: mboxgrep +- $(INSTALL) -d $(prefix)/bin +- $(INSTALL) -s $(TARGET) $(prefix)/bin ++ $(INSTALL) -d $(DESTDIR)$(prefix)/bin ++ $(INSTALL) -s $(TARGET) $(DESTDIR)$(prefix)/bin + + .NOEXPORT: |