summaryrefslogtreecommitdiff
path: root/chat/irssi/patches/patch-ab
blob: 8d1b3736cf638e7226e65a83e8cc1d4a5c338baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
$NetBSD: patch-ab,v 1.8 2007/10/13 16:27:15 adrianp Exp $

--- Makefile.in.orig	2007-10-06 10:41:44.000000000 +0100
+++ Makefile.in
@@ -40,8 +40,8 @@ host_triplet = @host@
 DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \
 	$(pkginclude_HEADERS) $(srcdir)/Makefile.am \
 	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
-	$(srcdir)/irssi-version.h.in $(srcdir)/irssi.spec.in \
-	$(top_srcdir)/configure \
+	$(srcdir)/irssi-config.in $(srcdir)/irssi-version.h.in \
+	$(srcdir)/irssi.spec.in $(top_srcdir)/configure \
 	$(top_srcdir)/src/perl/common/Makefile.PL.in \
 	$(top_srcdir)/src/perl/irc/Makefile.PL.in \
 	$(top_srcdir)/src/perl/textui/Makefile.PL.in \
@@ -60,7 +60,8 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = config.h
 CONFIG_CLEAN_FILES = src/perl/common/Makefile.PL \
 	src/perl/irc/Makefile.PL src/perl/ui/Makefile.PL \
-	src/perl/textui/Makefile.PL irssi-version.h irssi.spec
+	src/perl/textui/Makefile.PL irssi-version.h irssi-config \
+	irssi.spec
 SOURCES =
 DIST_SOURCES =
 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
@@ -252,7 +253,7 @@ sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 ACLOCAL_AMFLAGS = -I .
 SUBDIRS = src docs scripts
-confdir = $(sysconfdir)
+confdir = $(datadir)/examples/@PACKAGE@
 conf_DATA = irssi.conf
 themedir = $(datadir)/irssi/themes
 theme_DATA = default.theme colorless.theme
@@ -269,6 +270,7 @@ EXTRA_DIST = \
 	irssi.spec.in \
 	$(conf_DATA) \
 	$(theme_DATA) \
+	irssi-config.in \
 	irssi-icon.png \
 	syntax.pl \
 	findsyntax.pl
@@ -331,6 +333,8 @@ src/perl/textui/Makefile.PL: $(top_build
 	cd $(top_builddir) && $(SHELL) ./config.status $@
 irssi-version.h: $(top_builddir)/config.status $(srcdir)/irssi-version.h.in
 	cd $(top_builddir) && $(SHELL) ./config.status $@
+irssi-config: $(top_builddir)/config.status $(srcdir)/irssi-config.in
+	cd $(top_builddir) && $(SHELL) ./config.status $@
 irssi.spec: $(top_builddir)/config.status $(srcdir)/irssi.spec.in
 	cd $(top_builddir) && $(SHELL) ./config.status $@