public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-irc/atheme-services/files: atheme-services-7.0.0_alpha6-destdir-perl.patch
@ 2011-07-27 15:11 Nathan Phillip Brink (binki)
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Phillip Brink (binki) @ 2011-07-27 15:11 UTC (permalink / raw
  To: gentoo-commits

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.
  
  (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-services/files/atheme-services-7.0.0_alpha6-destdir-perl.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/files/atheme-services-7.0.0_alpha6-destdir-perl.patch?rev=1.1&content-type=text/plain

Index: atheme-services-7.0.0_alpha6-destdir-perl.patch
===================================================================
diff --git a/modules/scripting/perl/Makefile b/modules/scripting/perl/Makefile
index ec006ba..b7e4dbd 100644
--- a/modules/scripting/perl/Makefile
+++ b/modules/scripting/perl/Makefile
@@ -12,7 +12,7 @@ include ../../../buildsys.mk
 
 plugindir = $(MODDIR)/modules/scripting
 
-CPPFLAGS += -I../../../include -I. $(PERL_CFLAGS)
+CPPFLAGS += -I../../../include -I. $(PERL_CFLAGS) -DPERL_MODDIR='"$(plugindir)"'
 CFLAGS += $(PLUGIN_CFLAGS)
 LDFLAGS += $(PLUGIN_LDFLAGS) $(PERL_LIBS)
 LIBS +=	-L../../../libathemecore -lathemecore ${LDFLAGS_RPATH}
@@ -28,11 +28,11 @@ perlxsi.c:
 	perl -MExtUtils::Embed -e xsinit
 
 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/Internal
-	${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/perl/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 interface.
  */
-#define PERL_INIT_FILE PREFIX "/modules/scripting/lib/init.pl"
+#define PERL_INIT_FILE PERL_MODDIR "/lib/init.pl"
 
 /*
  * External functions:






^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-irc/atheme-services/files: atheme-services-7.0.0_alpha6-destdir-perl.patch
@ 2011-11-08  2:05 Nathan Phillip Brink (binki)
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Phillip Brink (binki) @ 2011-11-08  2:05 UTC (permalink / raw
  To: gentoo-commits

binki       11/11/08 02:05:35

  Removed:              atheme-services-7.0.0_alpha6-destdir-perl.patch
  Log:
  Drop old atheme-services-7.0.0_alpha6.
  
  (Portage version: 2.2.0_alpha71-r1/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-08  2:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27 15:11 [gentoo-commits] gentoo-x86 commit in net-irc/atheme-services/files: atheme-services-7.0.0_alpha6-destdir-perl.patch Nathan Phillip Brink (binki)
  -- strict thread matches above, loose matches on Subject: below --
2011-11-08  2:05 Nathan Phillip Brink (binki)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox