1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/mini_sendmail/hotfix-install.patch
3 # Copyright (C) 2007 - 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- mini_sendmail-1.3.9/Makefile.vanilla 2022-03-31 23:55:11.986903727 +0200
15 +++ mini_sendmail-1.3.9/Makefile 2022-03-31 23:55:31.374904727 +0200
17 # Solaris, you will need to uncomment this definition.
18 #SYSV_LIBS = -lnsl -lsocket
20 -BINDIR = /usr/local/sbin
21 -MANDIR = /usr/local/man
22 +BINDIR = $(prefix)/sbin
23 +MANDIR = $(prefix)/man
25 CFLAGS = -O -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
31 - rm -f $(BINDIR)/mini_sendmail
32 - cp mini_sendmail $(BINDIR)
33 - rm -f $(MANDIR)/man8/mini_sendmail.8
34 - cp mini_sendmail.8 $(MANDIR)/man8
35 + rm -f $(DESTDIR)$(BINDIR)/mini_sendmail
36 + cp mini_sendmail $(DESTDIR)$(BINDIR)
37 + rm -f $(DESTDIR)$(MANDIR)/man8/mini_sendmail.8
38 + cp mini_sendmail.8 $(DESTDIR)$(MANDIR)/man8
41 rm -f mini_sendmail *.o core core.* *.core