From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qm5ly-00062H-K4 for garchives@archives.gentoo.org; Wed, 27 Jul 2011 15:11:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08FED21C1A2; Wed, 27 Jul 2011 15:11:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D129121C10E for ; Wed, 27 Jul 2011 15:11:38 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 477261B4002 for ; Wed, 27 Jul 2011 15:11:38 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2297) id 142CE20051; Wed, 27 Jul 2011 15:11:37 +0000 (UTC) From: "Nathan Phillip Brink (binki)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, binki@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-irc/atheme-services/files: atheme-services-7.0.0_alpha6-destdir-perl.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: atheme-services-7.0.0_alpha6-destdir-perl.patch X-VCS-Directories: net-irc/atheme-services/files X-VCS-Committer: binki X-VCS-Committer-Name: Nathan Phillip Brink Content-Type: text/plain; charset=utf8 Message-Id: <20110727151137.142CE20051@flycatcher.gentoo.org> Date: Wed, 27 Jul 2011 15:11:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d5a3a1c51ef857d83f588cb05b941f34 binki 11/07/27 15:11:37 Added: atheme-services-7.0.0_alpha6-destdir-perl.patch Log: Bump to atheme-7.0.0_alpha6 which has perl scripting support. =20 (Portage version: 2.2.0_alpha46-r1/cvs/Linux x86_64) Revision Changes Path 1.1 net-irc/atheme-services/files/atheme-services-7.0.0_= alpha6-destdir-perl.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-ser= vices/files/atheme-services-7.0.0_alpha6-destdir-perl.patch?rev=3D1.1&vie= w=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-ser= vices/files/atheme-services-7.0.0_alpha6-destdir-perl.patch?rev=3D1.1&con= tent-type=3Dtext/plain Index: atheme-services-7.0.0_alpha6-destdir-perl.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff --git a/modules/scripting/perl/Makefile b/modules/scripting/perl/Mak= efile index ec006ba..b7e4dbd 100644 --- a/modules/scripting/perl/Makefile +++ b/modules/scripting/perl/Makefile @@ -12,7 +12,7 @@ include ../../../buildsys.mk =20 plugindir =3D $(MODDIR)/modules/scripting =20 -CPPFLAGS +=3D -I../../../include -I. $(PERL_CFLAGS) +CPPFLAGS +=3D -I../../../include -I. $(PERL_CFLAGS) -DPERL_MODDIR=3D'"$(= plugindir)"' CFLAGS +=3D $(PLUGIN_CFLAGS) LDFLAGS +=3D $(PLUGIN_LDFLAGS) $(PERL_LIBS) LIBS +=3D -L../../../libathemecore -lathemecore ${LDFLAGS_RPATH} @@ -28,11 +28,11 @@ perlxsi.c: perl -MExtUtils::Embed -e xsinit =20 install-extra: - ${MKDIR_P} ${plugindir}/lib - ${INSTALL} -m644 lib/*.pl lib/*.pm ${plugindir}/lib - ${MKDIR_P} ${plugindir}/lib/Atheme - ${INSTALL} -m644 lib/Atheme/*.pm ${plugindir}/lib/Atheme - ${MKDIR_P} ${plugindir}/lib/Atheme/Internal - ${INSTALL} -m644 lib/Atheme/Internal/*.pm ${plugindir}/lib/Atheme/Inter= nal - ${MKDIR_P} ${plugindir}/examples - ${INSTALL} -m644 examples/*.pl ${plugindir}/examples + ${MKDIR_P} '${DESTDIR}'${plugindir}/lib + ${INSTALL} -m644 lib/*.pl lib/*.pm '${DESTDIR}'${plugindir}/lib + ${MKDIR_P} '${DESTDIR}'${plugindir}/lib/Atheme + ${INSTALL} -m644 lib/Atheme/*.pm '${DESTDIR}'${plugindir}/lib/Atheme + ${MKDIR_P} '${DESTDIR}'${plugindir}/lib/Atheme/Internal + ${INSTALL} -m644 lib/Atheme/Internal/*.pm '${DESTDIR}'${plugindir}/lib/= Atheme/Internal + ${MKDIR_P} '${DESTDIR}'${plugindir}/examples + ${INSTALL} -m644 examples/*.pl '${DESTDIR}'${plugindir}/examples diff --git a/modules/scripting/perl/perl_module.c b/modules/scripting/per= l/perl_module.c index ba93cdf..dfa8622 100644 --- a/modules/scripting/perl/perl_module.c +++ b/modules/scripting/perl/perl_module.c @@ -24,7 +24,7 @@ DECLARE_MODULE_V1 * Definitions: * PERL_INIT_FILE is the perl script that is used to boot the Atheme in= terface. */ -#define PERL_INIT_FILE PREFIX "/modules/scripting/lib/init.pl" +#define PERL_INIT_FILE PERL_MODDIR "/lib/init.pl" =20 /* * External functions: