]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel-DESTDIR.patch
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/stunnel.git] / stunnel-DESTDIR.patch
1 --- stunnel-3.22/Makefile.in.orig       Mon Jan  7 14:24:18 2002
2 +++ stunnel-3.22/Makefile.in    Mon Jan  7 14:30:24 2002
3 @@ -24,7 +24,7 @@
4  LIBS=@LIBS@
5  HEADERS=common.h prototypes.h client.h
6  OBJS=client.o stunnel.o ssl.o protocol.o sthreads.o pty.o log.o options.o
7 -DESTFILES=$(sbindir)/stunnel $(libdir)/stunnel.so $(man8dir)/stunnel.8  $(PEM_DIR)/stunnel.pem
8 +DESTFILES=stunnel stunnel.so stunnel.8 stunnel.pem
9  
10  WINGCC=i386-mingw32msvc-gcc 
11  WINCFLAGS=-O2 -Wall -DUSE_WIN32=1 -DHAVE_OPENSSL=1 -DFD_SETSIZE=4096 -DVERSION=\"@VERSION@\" -I../openssl-0.9.6b/outinc
12 @@ -38,6 +38,10 @@
13  all: stunnel stunnel.8 stunnel.html stunnel.so stunnel.pem
14  
15  install: all installdirs $(DESTFILES)
16 +       $(INSTALL) stunnel $(DESTDIR)$(sbindir)
17 +       $(INSTALL) stunnel.so $(DESTDIR)$(libdir)
18 +       $(INSTALLMAN) stunnel.8 $(DESTDIR)$(man8dir)
19 +       $(INSTALL) stunnel.pem $(DESTDIR)$(PEM_DIR)
20  
21  uninstall:
22         rm -f $(DESTFILES)
23 @@ -63,8 +67,8 @@
24         gpg --yes --armor --detach-sign --force-v3-sigs ../dist/$(VERSION).tar.gz
25  
26  installdirs: mkinstalldirs
27 -       ./mkinstalldirs $(sbindir) $(libdir) $(man8dir) $(PEM_DIR) $(piddir)
28 -       chmod a=rwx,+t $(piddir)
29 +       ./mkinstalldirs $(DESTDIR)$(sbindir) $(DESTDIR)$(libdir) $(DESTDIR)$(man8dir) $(DESTDIR)$(PEM_DIR) $(DESTDIR)$(piddir)
30 +       chmod a=rwx,+t $(DESTDIR)$(piddir)
31  
32  # non-standard external rules
33  
This page took 0.03963 seconds and 3 git commands to generate.