summaryrefslogtreecommitdiff
path: root/www/wml/patches/patch-wml__common_gd_makefile_pl_in
blob: 6e81b0627c41bf3ea1f8c8421304be7a0ac67ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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{