ports/mail/mboxgrep/files/patch-src_Makefile.in
Stefan Eßer 540662a457 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.
2020-09-23 12:24:21 +00:00

29 lines
724 B
Plaintext

--- 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: