* added graalvm (22.0.0.1) - A high-performance JDK distribution
[t2.git] / package / mail / mini_sendmail / install.patch
blob9b7d6858988dc3e04057f8df6040a7d6fd7f3706
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../mini_sendmail/install.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- mini_sendmail-1.3.5/Makefile 2002-01-04 06:05:25.000000000 +0000
18 +++ mini_sendmail-1.3.5-fixed/Makefile 2007-03-27 09:17:29.000000000 +0000
19 @@ -4,8 +4,10 @@
20 # Solaris, you will need to uncomment this definition.
21 #SYSV_LIBS = -lnsl -lsocket
23 -BINDIR = /usr/local/sbin
24 -MANDIR = /usr/local/man
25 +prefix = /usr/local
27 +BINDIR = $(prefix)/sbin
28 +MANDIR = $(prefix)/man
29 CC = gcc
30 CFLAGS = -O
31 #CFLAGS = -g
32 @@ -30,10 +32,10 @@
35 install: all
36 - rm -f $(BINDIR)/mini_sendmail
37 - cp mini_sendmail $(BINDIR)
38 - rm -f $(MANDIR)/man8/mini_sendmail.8
39 - cp mini_sendmail.8 $(MANDIR)/man8
40 + rm -f $(DESTDIR)$(BINDIR)/mini_sendmail
41 + cp mini_sendmail $(DESTDIR)$(BINDIR)
42 + rm -f $(DESTDIR)$(MANDIR)/man8/mini_sendmail.8
43 + cp mini_sendmail.8 $(DESTDIR)$(MANDIR)/man8
45 clean:
46 rm -f mini_sendmail *.o core core.* *.core