summaryrefslogtreecommitdiff
path: root/network/sieve-connect/patches/00-Makefile_DESTDIR.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/sieve-connect/patches/00-Makefile_DESTDIR.diff')
-rw-r--r--network/sieve-connect/patches/00-Makefile_DESTDIR.diff12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/sieve-connect/patches/00-Makefile_DESTDIR.diff b/network/sieve-connect/patches/00-Makefile_DESTDIR.diff
index b138866802..f3a947cc80 100644
--- a/network/sieve-connect/patches/00-Makefile_DESTDIR.diff
+++ b/network/sieve-connect/patches/00-Makefile_DESTDIR.diff
@@ -1,5 +1,5 @@
---- Makefile.orig 2008-03-24 08:07:37.000000000 +0100
-+++ Makefile 2010-10-22 17:57:38.291774433 +0200
+--- Makefile.orig 2013-07-27 15:23:14.285754141 +0200
++++ Makefile 2013-07-27 15:23:44.974756110 +0200
@@ -2,7 +2,7 @@
INSTALLPROG=install
INSTALLROOT=
@@ -9,18 +9,18 @@
BINDIR=bin
BINPERM=0755
# Might use: MANDIR=share/man
-@@ -35,12 +35,14 @@
+@@ -32,12 +32,14 @@ all: $(SCRIPTNAME)
install: all install-bin install-man
install-bin: $(SCRIPTNAME)
+ mkdir -m755 -p $(PREFIX)/$(BINDIR)
- $(INSTALLPROG) -m $(BINPERM) $(INSTALLARGS) $(SCRIPTNAME) $(INSTALLROOT)$(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)
+ $(INSTALLPROG) -m $(MANPERM) $(INSTALLARGS) $(MANPAGE) $(INSTALLROOT)$(PREFIX)/$(MANDIR)/$(MANSECTDIR)/./
- bin $(SCRIPTNAME): $(SCRIPTSRC)
+ bin $(SCRIPTNAME): $(SCRIPTDIST)