aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.6/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5.6/pkg-install')
-rw-r--r--lang/perl5.6/pkg-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl5.6/pkg-install b/lang/perl5.6/pkg-install
index 87725be2bc36..491a9dbd9a7a 100644
--- a/lang/perl5.6/pkg-install
+++ b/lang/perl5.6/pkg-install
@@ -4,8 +4,10 @@ if [ "$2" != POST-INSTALL ] ; then
exit 0
fi
+INCLUDEDIR=/usr/include
+
install -d ${PREFIX}/lib/perl5/site_perl/5.6.0/arch
-cd /usr/include && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h
+cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h
exit 0