Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2017 12:26:16 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448664 - head/graphics/p5-Gimp
Message-ID:  <201708241226.v7OCQGR3068411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Aug 24 12:26:16 2017
New Revision: 448664
URL: https://svnweb.freebsd.org/changeset/ports/448664

Log:
  Fix runtime.
  
  Installing .xs files is interesting, but Perl cannot use them, they need
  to be compile into .so files first.  A QA check may be needed to avoid
  future absurdities like that.
  
  While there, put the *_DEPENDS variables in the correct order, remove
  unnecessary tortuous variable assignment, and add a missing
  BUILD_DEPENDS.
  
  Pointy hat:	sunpoet
  Sponsored by:	Absolight

Modified:
  head/graphics/p5-Gimp/Makefile   (contents, props changed)
  head/graphics/p5-Gimp/pkg-plist   (contents, props changed)

Modified: head/graphics/p5-Gimp/Makefile
==============================================================================
--- head/graphics/p5-Gimp/Makefile	Thu Aug 24 12:21:14 2017	(r448663)
+++ head/graphics/p5-Gimp/Makefile	Thu Aug 24 12:26:16 2017	(r448664)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Gimp
 PORTVERSION=	2.32
+PORTREVISION=	1
 CATEGORIES=	graphics perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,20 +15,28 @@ LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 LICENSE_FILE_ART10=	${WRKSRC}/COPYING.Artistic
 
-BUILD_DEPENDS=	p5-Gtk2>=1.0:x11-toolkits/p5-Gtk2 \
+BUILD_DEPENDS=	${RUN_DEPENDS} \
+		p5-ExtUtils-Depends>=0.402:devel/p5-ExtUtils-Depends \
+		p5-Alien-Gimp>=0.01:graphics/p5-Alien-Gimp
+LIB_DEPENDS=	libgimp-2.0.so:graphics/gimp-app
+RUN_DEPENDS=	p5-Gtk2>=1.0:x11-toolkits/p5-Gtk2 \
 		p5-Gtk2-Ex-PodViewer>=0:x11-toolkits/p5-Gtk2-Ex-PodViewer \
 		p5-IO-All>=0:devel/p5-IO-All \
 		p5-IO-stringy>=0:devel/p5-IO-stringy \
 		p5-HTML-Parser>=0:www/p5-HTML-Parser \
 		p5-Web-Scraper>=0:www/p5-Web-Scraper \
 		PDL>=2.007:math/PDL
-LIB_DEPENDS=	libgimp-2.0.so:graphics/gimp-app
-RUN_DEPENDS:=	${BUILD_DEPENDS}
-BUILD_DEPENDS+=	p5-Alien-Gimp>=0.01:graphics/p5-Alien-Gimp
 
 USES=		perl5
 USE_PERL5=	configure
 
 MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502502
+BUILD_DEPENDS+=	p5-ExtUtils-MakeMaker>=7.14:devel/p5-ExtUtils-MakeMaker
+.endif
+
+
+.include <bsd.port.post.mk>

Modified: head/graphics/p5-Gimp/pkg-plist
==============================================================================
--- head/graphics/p5-Gimp/pkg-plist	Thu Aug 24 12:21:14 2017	(r448663)
+++ head/graphics/p5-Gimp/pkg-plist	Thu Aug 24 12:26:16 2017	(r448664)
@@ -2,26 +2,26 @@ bin/embedxpm
 bin/gimpdoc
 bin/scm2perl
 bin/xcftopnm
-%%SITE_PERL%%/Gimp.pm
-%%SITE_PERL%%/Gimp.xs
-%%SITE_PERL%%/Gimp/ColorDB.pm
-%%SITE_PERL%%/Gimp/Constant.pm
-%%SITE_PERL%%/Gimp/Data.pm
-%%SITE_PERL%%/Gimp/Extension.pm
-%%SITE_PERL%%/Gimp/Fu.pm
-%%SITE_PERL%%/Gimp/Install/Files.pm
-%%SITE_PERL%%/Gimp/Lib.pm
-%%SITE_PERL%%/Gimp/Lib.xs
-%%SITE_PERL%%/Gimp/Net.pm
-%%SITE_PERL%%/Gimp/Net.xs
-%%SITE_PERL%%/Gimp/PixelRgn.pod
-%%SITE_PERL%%/Gimp/Pod.pm
-%%SITE_PERL%%/Gimp/UI.pm
-%%SITE_PERL%%/Gimp/UI.xs
-%%SITE_PERL%%/Gimp/Util.pm
-%%SITE_PERL%%/Gimp/gimp-perl.h
-%%SITE_PERL%%/Gimp/gppport.h
-%%SITE_PERL%%/Gimp/perl-intl.h
+%%SITE_ARCH%%/Gimp.pm
+%%SITE_ARCH%%/Gimp/ColorDB.pm
+%%SITE_ARCH%%/Gimp/Constant.pm
+%%SITE_ARCH%%/Gimp/Data.pm
+%%SITE_ARCH%%/Gimp/Extension.pm
+%%SITE_ARCH%%/Gimp/Fu.pm
+%%SITE_ARCH%%/Gimp/Install/Files.pm
+%%SITE_ARCH%%/Gimp/Lib.pm
+%%SITE_ARCH%%/Gimp/Net.pm
+%%SITE_ARCH%%/Gimp/PixelRgn.pod
+%%SITE_ARCH%%/Gimp/Pod.pm
+%%SITE_ARCH%%/Gimp/UI.pm
+%%SITE_ARCH%%/Gimp/Util.pm
+%%SITE_ARCH%%/Gimp/gimp-perl.h
+%%SITE_ARCH%%/Gimp/gppport.h
+%%SITE_ARCH%%/Gimp/perl-intl.h
+%%SITE_ARCH%%/auto/Gimp/Gimp.so
+%%SITE_ARCH%%/auto/Gimp/Lib/Lib.so
+%%SITE_ARCH%%/auto/Gimp/Net/Net.so
+%%SITE_ARCH%%/auto/Gimp/UI/UI.so
 %%PERL5_MAN1%%/embedxpm.1.gz
 %%PERL5_MAN1%%/gimpdoc.1.gz
 %%PERL5_MAN1%%/scm2perl.1.gz



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