jlec        14/10/21 11:14:55

  Modified:             ChangeLog
  Added:                perl-tk-804.32.0-r1.ebuild
  Log:
  dev-perl/perl-tk: Add fix for build against perl-5.20, thanks Norman Yarvin 
for the patch, #523982
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.103                dev-perl/perl-tk/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/perl-tk/ChangeLog?rev=1.103&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/perl-tk/ChangeLog?rev=1.103&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/perl-tk/ChangeLog?r1=1.102&r2=1.103

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/ChangeLog,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- ChangeLog   11 Oct 2014 18:44:58 -0000      1.102
+++ ChangeLog   21 Oct 2014 11:14:55 -0000      1.103
@@ -1,6 +1,13 @@
 # ChangeLog for dev-perl/perl-tk
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/ChangeLog,v 1.102 
2014/10/11 18:44:58 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/ChangeLog,v 1.103 
2014/10/21 11:14:55 jlec Exp $
+
+*perl-tk-804.32.0-r1 (21 Oct 2014)
+
+  21 Oct 2014; Justin Lecher <[email protected]> +perl-tk-804.32.0-r1.ebuild,
+  +files/freetype_location.patch, +files/mainwindow_segfaults.patch:
+  Add fix for build against perl-5.20, thanks Norman Yarvin for the patch,
+  #523982
 
   11 Oct 2014; Andreas K. Huettel <[email protected]>
   -perl-tk-804.29.0.ebuild, -perl-tk-804.30.0.ebuild, -perl-tk-804.31.0.ebuild,



1.1                  dev-perl/perl-tk/perl-tk-804.32.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/perl-tk/perl-tk-804.32.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/perl-tk/perl-tk-804.32.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: perl-tk-804.32.0-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-perl/perl-tk/perl-tk-804.32.0-r1.ebuild,v 1.1 
2014/10/21 11:14:55 jlec Exp $

EAPI=5

MY_PN=Tk
MODULE_AUTHOR=SREZIC
MODULE_VERSION=804.032
inherit multilib perl-module

DESCRIPTION="A Perl Module for Tk"

LICENSE+=" BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux 
~sparc-solaris ~x86-solaris"
IUSE=""

DEPEND="
        media-libs/freetype
        >=media-libs/libpng-1.4
        virtual/jpeg
        x11-libs/libX11
        x11-libs/libXft"
RDEPEND="${DEPEND}"

# No test running here, requires an X server, and fails lots anyway.
SRC_TEST="skip"
PATCHES=(
        "${FILESDIR}"/${PN}-804.31.0-xorg.patch
        "${FILESDIR}"/freetype_location.patch
        "${FILESDIR}"/mainwindow_segfaults.patch
        )

src_prepare() {
        MAKEOPTS+=" -j1" #333049
        myconf=( X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ 
-l${EPREFIX}/usr/$(get_libdir) )
        mydoc="ToDo VERSIONS"

        perl-module_src_prepare
        # fix detection logic for Prefix, bug #385621
        sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die
        # having this around breaks with perl-module and a case-IN-sensitive fs
        rm build_ptk || die

        # Remove all bundled libs, fixes #488194
        local BUNDLED="PNG/libpng \
                                        PNG/zlib \
                                        JPEG/jpeg"
        for dir in ${BUNDLED}; do
                rm -r "${S}/${dir}" || die "Can't remove bundle"
                # Makefile.PL can copy files to ${S}/${dir}, so recreate them 
back.
                mkdir -p "${S}/${dir}" || die "Can't restore bundled dir"
                sed -i "\#^${dir}#d" "${S}"/MANIFEST || die 'Can not remove 
bundled libs from MANIFEST'
        done
}




Reply via email to