public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/libcli/files: libcli-1.9.7-libdir.patch
@ 2013-08-05  6:40 Michael Weber (xmw)
  0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2013-08-05  6:40 UTC (permalink / raw
  To: gentoo-commits

xmw         13/08/05 06:40:53

  Added:                libcli-1.9.7-libdir.patch
  Log:
  Taking maint, update upstream, version bump.
  
  (Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

Revision  Changes    Path
1.1                  dev-libs/libcli/files/libcli-1.9.7-libdir.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcli/files/libcli-1.9.7-libdir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcli/files/libcli-1.9.7-libdir.patch?rev=1.1&content-type=text/plain

Index: libcli-1.9.7-libdir.patch
===================================================================
--- libcli-1.9.7/Makefile
+++ libcli-1.9.7/Makefile
@@ -1,6 +1,7 @@
 UNAME = $(shell sh -c 'uname -s 2>/dev/null || echo not')
 DESTDIR =
 PREFIX = /usr/local
+libdir = $(PREFIX)/lib
 
 MAJOR = 1
 MINOR = 9
@@ -50,10 +51,10 @@
 	rm -f *.o $(LIB)* $(LIB_STATIC) clitest
 
 install: $(LIB)
-	install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(PREFIX)/lib
+	install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(libdir)
 	install -m 0644 libcli.h $(DESTDIR)$(PREFIX)/include
-	install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(PREFIX)/lib
-	cd $(DESTDIR)$(PREFIX)/lib && \
+	install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(libdir)
+	cd $(DESTDIR)$(libdir) && \
 	    ln -fs $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \
 	    ln -fs $(LIB).$(MAJOR).$(MINOR) $(LIB)
 





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-05  6:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05  6:40 [gentoo-commits] gentoo-x86 commit in dev-libs/libcli/files: libcli-1.9.7-libdir.patch Michael Weber (xmw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox