Fix php5 invalid man pages installation path
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 8 Aug 2013 16:00:08 +0000 (12:00 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 8 Aug 2013 16:00:08 +0000 (12:00 -0400)
phpize.1, php.1 and php-config.1 are incorrectly installed under /usr/php/man

stage5/pkg/php

index 60ed440..0c0fed3 100644 (file)
@@ -7,11 +7,15 @@ hvconfig_pre()
     # your system).
 
     # Build directory doesn't work:
-    # gcc: Zend/zend_language_scanner.c: No such file or directory
+    #   gcc: Zend/zend_language_scanner.c: No such file or directory
+    # --mandir:
+    #   If not specified, php installs some man pages under /usr/php
+    #   (phpize.1, php.1 and php-config.1)
     CONFIGURE_OPTS=" \
         ${CONFIGURE_OPTS} \
         --with-apxs2 \
         --with-config-file-path=/etc \
+        --mandir=/usr/share/man \
         --with-zlib \
         --enable-bcmath \
         --with-bz2 \