From 3a740b3d951d727a4c966c880c88bdd061419c88 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Mon, 8 Sep 2014 18:10:14 +0000 Subject: - Convert to USES=libtool and add INSTALL_TARGET=install-strip - Store pid file under /var/run instead of /var/log - Add patch to fix DESTDIR problems - Use @sample - Replace pkg-deinstall and @exec with @dirrmtry --- irc/bopm/files/patch-Makefile.in | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 irc/bopm/files/patch-Makefile.in (limited to 'irc/bopm/files/patch-Makefile.in') diff --git a/irc/bopm/files/patch-Makefile.in b/irc/bopm/files/patch-Makefile.in new file mode 100644 index 000000000000..c4bc81892a40 --- /dev/null +++ b/irc/bopm/files/patch-Makefile.in @@ -0,0 +1,31 @@ +--- Makefile.in.orig 2007-05-15 20:54:14 UTC ++++ Makefile.in +@@ -194,7 +194,7 @@ + target_alias = @target_alias@ + AUTOMAKE_OPTIONS = foreign + SUBDIRS = src +-data_DATA = bopm.conf.sample bopm.conf.blitzed ++data_DATA = bopm.conf.blitzed + EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample bopm.conf.blitzed network-bopm + all: all-recursive + +@@ -636,14 +636,14 @@ + + + install-data-local: +- @if test -f $(sysconfdir)/bopm.conf ; then \ ++ @if test -f $(DESTDIR)$(sysconfdir)/bopm.conf ; then \ + echo "$@ will not overwrite existing $(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.sample"; \ ++ $(INSTALL_DATA) bopm.conf.sample $(DESTDIR)$(sysconfdir)/bopm.conf.sample; \ + fi +- $(mkinstalldirs) $(localstatedir) ++ $(mkinstalldirs) $(DESTDIR)$(localstatedir) + + uninstall-local: + @if test -f $(sysconfdir)/bopm.conf ; then \ -- cgit v1.2.3