diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2010-12-10 09:11:09 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-12 15:47:14 -0600 |
commit | 85ddf4e4dad50e334f431f55d7cba8b2908d9d03 (patch) | |
tree | 312352b02336dd8576bdcf633c288ec1e768470f /network/sieve-connect/patches | |
parent | 1b976ec966c382b49e1aeade87cb19aee485175d (diff) | |
download | slackbuilds-85ddf4e4dad50e334f431f55d7cba8b2908d9d03.tar.gz |
network/sieve-connect: Added (Perl ManageSieve client)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/sieve-connect/patches')
-rw-r--r-- | network/sieve-connect/patches/00-Makefile_DESTDIR.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/network/sieve-connect/patches/00-Makefile_DESTDIR.diff b/network/sieve-connect/patches/00-Makefile_DESTDIR.diff new file mode 100644 index 0000000000..b138866802 --- /dev/null +++ b/network/sieve-connect/patches/00-Makefile_DESTDIR.diff @@ -0,0 +1,26 @@ +--- Makefile.orig 2008-03-24 08:07:37.000000000 +0100 ++++ Makefile 2010-10-22 17:57:38.291774433 +0200 +@@ -2,7 +2,7 @@ + INSTALLPROG=install + INSTALLROOT= + INSTALLARGS= +-PREFIX=/usr/local ++PREFIX=${DESTDIR}/usr + BINDIR=bin + BINPERM=0755 + # Might use: MANDIR=share/man +@@ -35,12 +35,14 @@ + install: all install-bin install-man + + install-bin: $(SCRIPTNAME) ++ mkdir -m755 -p $(PREFIX)/$(BINDIR) + $(INSTALLPROG) -m $(BINPERM) $(INSTALLARGS) $(SCRIPTNAME) $(INSTALLROOT)$(PREFIX)/$(BINDIR) + + # making the man-page is dependent upon files not distributed, so they're + # regenerated, so we don't list it as a dependency here -- instead we + # assume that the maintainer created it for us (as a tarball depenency) + install-man: ++ mkdir -m755 -p $(PREFIX)/$(MANDIR)/$(MANSECTDIR) + $(INSTALLPROG) -m $(MANPERM) $(INSTALLARGS) $(MANPAGE) $(INSTALLROOT)$(PREFIX)/$(MANDIR)/$(MANSECTDIR) + + bin $(SCRIPTNAME): $(SCRIPTSRC) |