Patch for systems with local version of gd for p5-GD

Eugene V. Boontseff eugene at home.wdc.spb.ru
Sat Feb 9 11:20:10 UTC 2013


Dear, maintainer!

Please add the patch for your convenience build the port 
(graphics/p5-GD) in systems with a local version of gd.
You will appreciate many users, who use a localized versions of gd.
Thank you for your attention.

-- 
Eugene

-------------- next part --------------
--- Makefile.orig       2013-02-09 15:04:52.868749152 +0400
+++ Makefile    2013-02-09 15:05:49.864577678 +0400
@@ -12,11 +12,13 @@
 MASTER_SITES=  CPAN
 PKGNAMEPREFIX= p5-
 DISTNAME=      GD-${PORTVERSION}
+GD_PORT?=      graphics/gd
+# slave ports override with languages specific gd
 
 MAINTAINER=    perl at FreeBSD.org
 COMMENT=       A perl5 interface to Gd Graphics Library version2
 
-LIB_DEPENDS=   gd.4:${PORTSDIR}/graphics/gd
+LIB_DEPENDS=   gd.4:${PORTSDIR}/${GD_PORT}
 
 MAKE_JOBS_SAFE=  yes
 



More information about the freebsd-perl mailing list