]> git.pld-linux.org Git - packages/bopm.git/commitdiff
- $(DESTDIR) patch
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 25 May 2005 18:41:37 +0000 (18:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bopm-DESTDIR.patch -> 1.1

bopm-DESTDIR.patch [new file with mode: 0644]

diff --git a/bopm-DESTDIR.patch b/bopm-DESTDIR.patch
new file mode 100644 (file)
index 0000000..c5c1ce0
--- /dev/null
@@ -0,0 +1,34 @@
+--- bopm-3.1.2/Makefile.am~    2004-01-18 01:18:13.000000000 +0200
++++ bopm-3.1.2/Makefile.am     2005-05-25 20:40:44.000000000 +0300
+@@ -7,14 +7,14 @@
+ EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample
+ install-data-local:
+-      @if test -f $(sysconfdir)/bopm.conf ; then \
+-              echo "$@ will not overwrite existing $(sysconfdir)/bopm.conf"; \
++      @if test -f $(DESTDIR)$(sysconfdir)/bopm.conf ; then \
++              echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/bopm.conf"; \
+       else \
+-              $(mkinstalldirs) $(sysconfdir); \
+-              echo "$(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf"; \
+-              $(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf; \
++              $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
++              echo "$(INSTALL_DATA) bopm.conf.sample $(DESTDIR)$(sysconfdir)/bopm.conf"; \
++              $(INSTALL_DATA) bopm.conf.sample $(DESTDIR)$(sysconfdir)/bopm.conf; \
+       fi
+-      $(mkinstalldirs) $(localstatedir)
++      $(mkinstalldirs) $(DESTDIR)$(localstatedir)
+ uninstall-local:
+       @if test -f $(sysconfdir)/bopm.conf ; then \
+--- ./Makefile.am~     2005-05-25 20:57:11.000000000 +0300
++++ ./Makefile.am      2005-05-25 21:07:44.000000000 +0300
+@@ -2,7 +2,7 @@
+ SUBDIRS = src
+-data_DATA = bopm.conf.sample
++data_DATA = 
+ EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample
This page took 0.063515 seconds and 4 git commands to generate.