[46183] trunk/dports/net/pidgin
simon at macports.org
simon at macports.org
Sat Jan 31 04:09:22 PST 2009
Revision: 46183
http://trac.macports.org/changeset/46183
Author: simon at macports.org
Date: 2009-01-31 04:09:20 -0800 (Sat, 31 Jan 2009)
Log Message:
-----------
net/pidgin: Better fix to not install perllocal.pod.
Modified Paths:
--------------
trunk/dports/net/pidgin/Portfile
Added Paths:
-----------
trunk/dports/net/pidgin/files/patch-perllocal.pod.diff
Modified: trunk/dports/net/pidgin/Portfile
===================================================================
--- trunk/dports/net/pidgin/Portfile 2009-01-31 11:07:49 UTC (rev 46182)
+++ trunk/dports/net/pidgin/Portfile 2009-01-31 12:09:20 UTC (rev 46183)
@@ -57,9 +57,9 @@
configure.ldflags-append -bind_at_load
configure.cppflags-append -no-cpp-precomp
-post-destroot {
- # Installed for perl, but collides with other perl ports.
- file delete ${destroot}${prefix}/lib/perl5/5.8.9/darwin-2level/perllocal.pod
+post-build {
+ # Don't install perllocal.pod as it collides with other ports.
+ system "cd ${worksrcpath}; patch -p0 < ${filespath}/patch-perllocal.pod.diff"
}
post-activate {
Added: trunk/dports/net/pidgin/files/patch-perllocal.pod.diff
===================================================================
--- trunk/dports/net/pidgin/files/patch-perllocal.pod.diff (rev 0)
+++ trunk/dports/net/pidgin/files/patch-perllocal.pod.diff 2009-01-31 12:09:20 UTC (rev 46183)
@@ -0,0 +1,80 @@
+Index: libpurple/plugins/perl/common/Makefile
+===================================================================
+--- libpurple/plugins/perl/common/Makefile.orig 2009-01-25 21:29:43.000000000 +0100
++++ libpurple/plugins/perl/common/Makefile 2009-01-25 21:41:09.000000000 +0100
+@@ -886,35 +886,14 @@
+ doc_perl_install ::
+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
+ -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" "$(INSTALLPRIVLIB)" \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> $(DESTINSTALLARCHLIB)/perllocal.pod
+
+ doc_site_install ::
+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
+ -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" "$(INSTALLSITELIB)" \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> $(DESTINSTALLARCHLIB)/perllocal.pod
+
+ doc_vendor_install ::
+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
+ -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" "$(INSTALLVENDORLIB)" \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> $(DESTINSTALLARCHLIB)/perllocal.pod
+
+
+ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
+Index: pidgin/plugins/perl/common/Makefile
+===================================================================
+--- pidgin/plugins/perl/common/Makefile.orig 2009-01-25 21:33:07.000000000 +0100
++++ pidgin/plugins/perl/common/Makefile 2009-01-25 21:41:54.000000000 +0100
+@@ -840,35 +840,14 @@
+ doc_perl_install ::
+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
+ -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" "$(INSTALLPRIVLIB)" \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> $(DESTINSTALLARCHLIB)/perllocal.pod
+
+ doc_site_install ::
+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
+ -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" "$(INSTALLSITELIB)" \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> $(DESTINSTALLARCHLIB)/perllocal.pod
+
+ doc_vendor_install ::
+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
+ -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" "$(INSTALLVENDORLIB)" \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> $(DESTINSTALLARCHLIB)/perllocal.pod
+
+
+ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090131/a5633c99/attachment-0001.html>
More information about the macports-changes
mailing list