gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] /srv/bzr/gsrc/trunk r1086: forgot to add termcap install p


From: Brandon Invergo
Subject: [Gsrc-commit] /srv/bzr/gsrc/trunk r1086: forgot to add termcap install patch
Date: Thu, 08 Nov 2012 00:01:06 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 1086
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Thu 2012-11-08 00:01:06 +0100
message:
  forgot to add termcap install patch
added:
  gnu/termcap/files/
  gnu/termcap/files/fix-install.diff
=== added directory 'gnu/termcap/files'
=== added file 'gnu/termcap/files/fix-install.diff'
--- a/gnu/termcap/files/fix-install.diff        1970-01-01 00:00:00 +0000
+++ b/gnu/termcap/files/fix-install.diff        2012-11-07 23:01:06 +0000
@@ -0,0 +1,61 @@
+diff -x config.log -x config.status -ru work/termcap-1.3.1/Makefile.in 
work/termcap-1.3.1/Makefile.in
+--- work/termcap-1.3.1/Makefile.in     1995-08-17 02:54:29.000000000 +0200
++++ work/termcap-1.3.1/Makefile.in     2012-11-06 22:48:25.977879573 +0100
+@@ -16,7 +16,7 @@
+ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ 
+ #### Start of system configuration section. ####
+-
++DESTDIR =
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+ 
+@@ -37,10 +37,10 @@
+ exec_prefix = @exec_prefix@
+ 
+ # Directory in which to install libtermcap.a.
+-libdir = $(exec_prefix)/lib
++libdir = ${exec_prefix}/lib
+ 
+ # Directory in which to install termcap.h.
+-includedir = $(prefix)/include
++includedir = ${prefix}/include
+ 
+ # Directory in which to optionally also install termcap.h,
+ # so compilers besides gcc can find it by default.
+@@ -72,13 +72,13 @@
+       $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS) $<
+ 
+ install: all installdirs @installdata@
+-      $(INSTALL_DATA) libtermcap.a $(libdir)/libtermcap.a
+-      -$(RANLIB) $(libdir)/libtermcap.a
+-      cd $(srcdir); $(INSTALL_DATA) termcap.h $(includedir)/termcap.h
++      $(INSTALL_DATA) libtermcap.a $(DESTDIR)$(libdir)/libtermcap.a
++      -$(RANLIB) $(DESTDIR)$(libdir)/libtermcap.a
++      cd $(srcdir); $(INSTALL_DATA) termcap.h 
$(DESTDIR)$(includedir)/termcap.h
+       -cd $(srcdir); test -z "$(oldincludedir)" || \
+         $(INSTALL_DATA) termcap.h $(oldincludedir)/termcap.h
+       cd $(srcdir); for f in termcap.info*; \
+-      do $(INSTALL_DATA) $$f $(infodir)/$$f; done
++      do $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$f; done
+ 
+ uninstall: @uninstalldata@
+       rm -f $(libdir)/libtermcap.a $(includedir)/termcap.h
+@@ -88,14 +88,14 @@
+ # These are separate targets to avoid trashing the user's existing
+ # termcap file unexpectedly.
+ install-data:
+-      $(INSTALL_DATA) ${srcdir}/termcap.src ${termcapfile}
++      $(INSTALL_DATA) ${srcdir}/termcap.src $(DESTDIR)${termcapfile}
+ 
+ uninstall-data:
+       rm -f ${termcapfile}
+ 
+ installdirs:
+-      $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(libdir) \
+-      $(includedir) $(infodir)
++      $(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(bindir) 
$(DESTDIR)$(libdir) \
++      $(DESTDIR)$(includedir) $(DESTDIR)$(infodir)
+ 
+ Makefile: Makefile.in config.status
+       $(SHELL) config.status


reply via email to

[Prev in Thread] Current Thread [Next in Thread]