diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-08-13 12:29:13 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-08-13 12:29:13 +0200 |
commit | 9e662e02cb3d89fde4d47fc67efae80f7c230e07 (patch) | |
tree | 9d098792f7a46beb67447cdbd5f7a3378e54b816 /net-libs/liblockfile/files/liblockfile-1.16-makefile.patch | |
parent | dev-ruby/rexical: x86 stable wrt bug #691974 (diff) | |
download | gentoo-9e662e02cb3d89fde4d47fc67efae80f7c230e07.tar.gz gentoo-9e662e02cb3d89fde4d47fc67efae80f7c230e07.tar.bz2 gentoo-9e662e02cb3d89fde4d47fc67efae80f7c230e07.zip |
net-libs/liblockfile: Bump to version 1.16
Use GitHub upstream instead of Debian mirror
Thanks-to: Thomas Deutschmann <whissi@gentoo.org>
Closes: https://bugs.gentoo.org/691706
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-libs/liblockfile/files/liblockfile-1.16-makefile.patch')
-rw-r--r-- | net-libs/liblockfile/files/liblockfile-1.16-makefile.patch | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/net-libs/liblockfile/files/liblockfile-1.16-makefile.patch b/net-libs/liblockfile/files/liblockfile-1.16-makefile.patch new file mode 100644 index 000000000000..656ccd3c494c --- /dev/null +++ b/net-libs/liblockfile/files/liblockfile-1.16-makefile.patch @@ -0,0 +1,80 @@ +From 31cb6368b7feabfba37388050523667acd8942ac Mon Sep 17 00:00:00 2001 +From: Thomas Deutschmann <whissi@gentoo.org> +Date: Tue, 13 Aug 2019 12:19:35 +0200 +Subject: [PATCH] Makefile.in: Export AR; Don't use DESTDIR in prefix + definition. + +--- + Makefile.in | 37 +++++++++++++++++++------------------ + 1 file changed, 19 insertions(+), 18 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 2721b48..798c603 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -9,8 +9,9 @@ NFSVER = 0.1 + CFLAGS = @CFLAGS@ -I. + LDFLAGS = @LDFLAGS@ + CC = @CC@ ++AR = @AR@ + +-prefix = $(DESTDIR)@prefix@ ++prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ + libdir = @libdir@ +@@ -56,34 +57,34 @@ xlockfile.o: lockfile.c + -c lockfile.c -o xlockfile.o + + install_static: static install_common +- install -d -m 755 -g root -p $(libdir) +- install -m 644 liblockfile.a $(libdir) ++ install -d -m 755 -g root -p $(DESTDIR)$(libdir) ++ install -m 644 liblockfile.a $(DESTDIR)$(libdir) + + install_shared: shared install_static install_common +- install -d -m 755 -g root -p $(libdir) ++ install -d -m 755 -g root -p $(DESTDIR)$(libdir) + install -m 755 liblockfile.so \ +- $(libdir)/liblockfile.so.$(SOVER) +- ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so.$(MAJOR) +- ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so ++ $(DESTDIR)$(libdir)/liblockfile.so.$(SOVER) ++ ln -s liblockfile.so.$(SOVER) $(DESTDIR)$(libdir)/liblockfile.so.$(MAJOR) ++ ln -s liblockfile.so.$(SOVER) $(DESTDIR)$(libdir)/liblockfile.so + if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi + + install_common: +- install -d -m 755 -g root -p $(includedir) +- install -d -m 755 -g root -p $(bindir) +- install -d -m 755 -g root -p $(mandir)/man1 +- install -d -m 755 -g root -p $(mandir)/man3 +- install -m 644 lockfile.h maillock.h $(includedir) ++ install -d -m 755 -g root -p $(DESTDIR)$(includedir) ++ install -d -m 755 -g root -p $(DESTDIR)$(bindir) ++ install -d -m 755 -g root -p $(DESTDIR)$(mandir)/man1 ++ install -d -m 755 -g root -p $(DESTDIR)$(mandir)/man3 ++ install -m 644 lockfile.h maillock.h $(DESTDIR)$(includedir) + if [ "$(MAILGROUP)" != "" ]; then\ +- install -g $(MAILGROUP) -m 2755 dotlockfile $(bindir);\ ++ install -g $(MAILGROUP) -m 2755 dotlockfile $(DESTDIR)$(bindir);\ + else \ +- install -g root -m 755 dotlockfile $(bindir); \ ++ install -g root -m 755 dotlockfile $(DESTDIR)$(bindir); \ + fi +- install -m 644 *.1 $(mandir)/man1 +- install -m 644 *.3 $(mandir)/man3 ++ install -m 644 *.1 $(DESTDIR)$(mandir)/man1 ++ install -m 644 *.3 $(DESTDIR)$(mandir)/man3 + + install_nfslib: nfslib +- install -d -m 755 -g root -p $(nfslockdir) +- install -m 755 nfslock.so.$(NFSVER) $(nfslockdir) ++ install -d -m 755 -g root -p $(DESTDIR)$(nfslockdir) ++ install -m 755 nfslock.so.$(NFSVER) $(DESTDIR)$(nfslockdir) + if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi + + test: test-stamp +-- +2.23.0.rc2 + |