summaryrefslogtreecommitdiff
path: root/chat/silc-client/patches/patch-ac
blob: e1d3426a5cfa350ed7a6d24d92e2467ed3bc7273 (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
$NetBSD: patch-ac,v 1.8 2005/04/08 15:12:48 salo Exp $

--- irssi/src/perl/Makefile.in.orig	2005-04-06 15:04:38.000000000 +0200
+++ irssi/src/perl/Makefile.in	2005-04-08 16:13:33.000000000 +0200
@@ -284,7 +284,7 @@
 	-I$(top_srcdir)/src/fe-common/core \
 	-I$(top_srcdir)/src/fe-common/silc \
 	$(GLIB_CFLAGS) \
-	-DSCRIPTDIR=\""$(datadir)/silc/scripts"\" \
+	-DSCRIPTDIR=\""$(prefix)/libexec/silc-client/scripts"\" \
 	-DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \
 	-DPERL_STATIC_LIBS=$(PERL_STATIC_LIBS) \
 	$(PERL_CFLAGS)
@@ -707,7 +707,7 @@
 	$(top_srcdir)/file2header.sh $(srcdir)/irssi-core.pl irssi_core_code > irssi-core.pl.h
 
 all-local:
-	for dir in "$(perl_dirs)"; do \
+	for dir in $(perl_dirs); do \
 	  cd $$dir && \
 	  if [ ! -f Makefile ]; then \
             $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
@@ -717,7 +717,7 @@
 	done
 
 install-exec-local:
-	for dir in "$(perl_dirs)"; do \
+	for dir in $(perl_dirs); do \
 	  cd $$dir && $(MAKE) install && cd ..; \
 	done