pkgsrc/www/wml/patches/patch-wml__common_gd_makefile_pl_in
dholland 3297c56d1d This package tries to avoid installing the docs for the subdirs of
wml/wml_common. Don't ask me why; however, make it do so correctly.
Otherwise it breaks trying to chmod nothing.

Fixes build with recent (or maybe not so recent, dunno how long this
has been broken) perl.
2011-09-29 11:12:53 +00:00

22 lines
765 B
Text

$NetBSD: patch-wml__common_gd_makefile_pl_in,v 1.1 2011/09/29 11:12:53 dholland Exp $
Suppress building/installation of the docs correctly. Fixes build
failure with recent Perl.
--- wml_common/gd/Makefile.PL.in~ 2000-03-12 16:22:30.000000000 +0000
+++ wml_common/gd/Makefile.PL.in
@@ -13,10 +13,13 @@ WriteMakefile(
# Uncomment the line below if you're getting link errors
# having to do with missing math functions (like floor)
'LIBS' => ["-lm @LIBPNG@"],
- 'DEFINE' => '@DEFS@'
+ 'DEFINE' => '@DEFS@',
# Uncomment the line below if you're using a perl compiled
# for fastCGI (http://www.fastcgi.com/).
# 'DEFINE' => '-DFCGI'
+ # suppress docs
+ 'MAN1PODS' => { },
+ 'MAN3PODS' => { }
);
sub MY::postamble{