[46184] trunk/dports/net/finch

simon at macports.org simon at macports.org
Sat Jan 31 04:09:40 PST 2009


Revision: 46184
          http://trac.macports.org/changeset/46184
Author:   simon at macports.org
Date:     2009-01-31 04:09:39 -0800 (Sat, 31 Jan 2009)
Log Message:
-----------
net/finch: Better fix to not install perllocal.pod.

Modified Paths:
--------------
    trunk/dports/net/finch/Portfile

Added Paths:
-----------
    trunk/dports/net/finch/files/patch-perllocal.pod.diff

Modified: trunk/dports/net/finch/Portfile
===================================================================
--- trunk/dports/net/finch/Portfile	2009-01-31 12:09:20 UTC (rev 46183)
+++ trunk/dports/net/finch/Portfile	2009-01-31 12:09:39 UTC (rev 46184)
@@ -54,9 +54,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"
 }
 
 livecheck.distname  Pidgin

Added: trunk/dports/net/finch/files/patch-perllocal.pod.diff
===================================================================
--- trunk/dports/net/finch/files/patch-perllocal.pod.diff	                        (rev 0)
+++ trunk/dports/net/finch/files/patch-perllocal.pod.diff	2009-01-31 12:09:39 UTC (rev 46184)
@@ -0,0 +1,40 @@
+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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090131/5cada1ce/attachment.html>


More information about the macports-changes mailing list