Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  6 Feb 2004 08:38:03 +0000 (GMT)
From:      Dominic Mitchell <dom@happygiraffe.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62416: Version Bump for graphics/p5-Image-Imlib2
Message-ID:  <20040206083803.20AF8B844@happygiraffe.net>
Resent-Message-ID: <200402060840.i168eCHS027268@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62416
>Category:       ports
>Synopsis:       Version Bump for graphics/p5-Image-Imlib2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 06 00:40:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Mitchell
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:

	System: FreeBSD ppe.happygiraffe.net 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Wed Dec 17 22:54:21 GMT 2003 root@ppe.happygiraffe.net:/usr/obj/usr/src/sys/PPE i386

	perl 5.8.2
	imlib2-1.1.0

>Description:

	Presently, this port does not build properly.  Even when you
manage to make it build, it fails to load properly.  Thankfully,
upgrading to the latest version fixes everything.

>How-To-Repeat:
	cd /usr/ports/graphics/p5-Image-Imlib2 && make install
	# ... much fiddling ...
	perl -MIMage::Imlib2 -e 'Image::Imlib2->new(100,100)'
	# this gives you a dynamic loader error.
>Fix:

	The latest version appears to work correctly.  I've also
upgraded the port to use the Module::Build support that has recently
been committed to bsd.port.mk.

	Please note that there are no longer any patches required to
build this.  The files directory can be removed.

diff -ruN /usr/ports/graphics/p5-Image-Imlib2/Makefile p5-Image-Imlib2/Makefile
--- /usr/ports/graphics/p5-Image-Imlib2/Makefile	Mon Dec 22 00:34:01 2003
+++ p5-Image-Imlib2/Makefile	Fri Feb  6 08:26:47 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Image-Imlib2
-PORTVERSION=	0.12
+PORTVERSION=	1.01
 CATEGORIES=	graphics perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Image
@@ -17,9 +17,8 @@
 
 LIB_DEPENDS=	Imlib2.2:${PORTSDIR}/graphics/imlib2
 
-PERL_CONFIGURE=	yes
+PERL_MODBUILD=	yes
 
 MAN3=		Image::Imlib2.3
 
-.include "../../devel/p5-Module-Build/inc.build.mk"
 .include <bsd.port.mk>
diff -ruN /usr/ports/graphics/p5-Image-Imlib2/distinfo p5-Image-Imlib2/distinfo
--- /usr/ports/graphics/p5-Image-Imlib2/distinfo	Fri Jan 30 00:15:26 2004
+++ p5-Image-Imlib2/distinfo	Fri Feb  6 08:27:01 2004
@@ -1,2 +1,2 @@
-MD5 (Image-Imlib2-0.12.tar.gz) = 76685491b7453f89ad2bfe28d09d8703
-SIZE (Image-Imlib2-0.12.tar.gz) = 14786
+MD5 (Image-Imlib2-1.01.tar.gz) = 506ddc41150c93da005e96ad987daee7
+SIZE (Image-Imlib2-1.01.tar.gz) = 13955
diff -ruN /usr/ports/graphics/p5-Image-Imlib2/files/patch-Build.PL p5-Image-Imlib2/files/patch-Build.PL
--- /usr/ports/graphics/p5-Image-Imlib2/files/patch-Build.PL	Fri Oct 24 00:39:55 2003
+++ p5-Image-Imlib2/files/patch-Build.PL	Thu Jan  1 01:00:00 1970
@@ -1,19 +0,0 @@
---- Build.PL.orig	Sun Aug 31 17:15:33 2003
-+++ Build.PL	Thu Oct 23 09:31:34 2003
-@@ -21,6 +21,7 @@
- 
- my $libs = `$CONFIG --libs`;
- my $cflags = `$CONFIG --cflags`;
-+$cflags .= ' -fPIC';
- 
- my $build = Module::Build->new(
-   module_name => 'Image::Imlib2',
-@@ -30,7 +31,7 @@
-     'Test::More' => '0.01',
-   },
-   extra_linker_flags => $libs,
--  cc_flags => $cflags,
-+  extra_compiler_flags => $cflags,
-   c_source     => './lib/Image',                                               
- );
- $build->create_build_script;
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206083803.20AF8B844>