89e4042b13
or from a diskless client to it's smart mailer.
35 lines
804 B
Text
35 lines
804 B
Text
$NetBSD: patch-ab,v 1.1 2003/02/15 22:11:28 is Exp $
|
|
|
|
--- Makefile.orig Fri Jan 4 07:05:25 2002
|
|
+++ Makefile
|
|
@@ -4,12 +4,12 @@
|
|
# Solaris, you will need to uncomment this definition.
|
|
#SYSV_LIBS = -lnsl -lsocket
|
|
|
|
-BINDIR = /usr/local/sbin
|
|
-MANDIR = /usr/local/man
|
|
-CC = gcc
|
|
-CFLAGS = -O
|
|
+BINDIR = $(PREFIX)/sbin
|
|
+MANDIR = $(PREFIX)/man
|
|
+#CC = gcc
|
|
+#CFLAGS = -O
|
|
#CFLAGS = -g
|
|
-LDFLAGS = -s -static
|
|
+#LDFLAGS = -s -static
|
|
#LDFLAGS = -g -static
|
|
LDLIBS = $(SYSV_LIBS)
|
|
|
|
@@ -30,10 +30,8 @@
|
|
|
|
|
|
install: all
|
|
- rm -f $(BINDIR)/mini_sendmail
|
|
- cp mini_sendmail $(BINDIR)
|
|
- rm -f $(MANDIR)/man8/mini_sendmail.8
|
|
- cp mini_sendmail.8 $(MANDIR)/man8
|
|
+ $(BSD_INSTALL_PROGRAM) mini_sendmail $(BINDIR)
|
|
+ $(BSD_INSTALL_MAN) mini_sendmail.8 $(MANDIR)/man8
|
|
|
|
clean:
|
|
rm -f mini_sendmail *.o core core.* *.core
|