$OpenBSD: patch-src_perl_Makefile_in,v 1.3 2008/12/22 19:40:33 matthieu Exp $
--- src/perl/Makefile.in.orig	Sat Oct  6 11:41:23 2007
+++ src/perl/Makefile.in	Wed Dec  3 21:35:58 2008
@@ -261,7 +261,7 @@ INCLUDES = \
 	-I$(top_srcdir)/src/core \
 	-I$(top_srcdir)/src/fe-common/core \
 	$(GLIB_CFLAGS) \
-	-DSCRIPTDIR=\""$(datadir)/irssi/scripts"\" \
+	-DSCRIPTDIR=\""$(sysconfdir)/irssi/scripts"\" \
 	-DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \
 	-DPERL_STATIC_LIBS=$(PERL_STATIC_LIBS) \
 	$(PERL_CFLAGS)
