openbsd-ports/mail/mini_sendmail/patches/patch-Makefile
jolan a5154a9c92 import of mini_sendmail-1.3.2:
mini_sendmail reads its standard input up to an end-of-file and sends a
copy of the message found there to all of the addresses listed.  The
message is sent by connecting to a local SMTP server.  This means
mini_sendmail can be used to send email from inside a chroot(2) area.
2003-07-22 23:01:16 +00:00

33 lines
800 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2003/07/22 23:01:16 jolan Exp $
--- Makefile.orig Fri Jan 4 00:05:25 2002
+++ Makefile Sat Jul 19 21:17:20 2003
@@ -6,14 +6,14 @@
BINDIR = /usr/local/sbin
MANDIR = /usr/local/man
-CC = gcc
-CFLAGS = -O
+#CC = gcc
+#CFLAGS = -O
#CFLAGS = -g
-LDFLAGS = -s -static
+#LDFLAGS = -s -static
#LDFLAGS = -g -static
LDLIBS = $(SYSV_LIBS)
-CC := $(DIET) $(CC)
+#CC := $(DIET) $(CC)
all: mini_sendmail
@@ -23,7 +23,8 @@ diet:
mini_sendmail: mini_sendmail.o
- $(CC) $(CFLAGS) $(LDFLAGS) mini_sendmail.o $(LDLIBS) -o mini_sendmail
+ $(CC) $(LDFLAGS) mini_sendmail.o $(LDLIBS) -o mini_sendmail
+ $(CC) $(LDFLAGS) -static mini_sendmail.o $(LDLIBS) -o mini_sendmail-static
mini_sendmail.o: mini_sendmail.c version.h
$(CC) $(CFLAGS) -c mini_sendmail.c