From 65b8677eed27da63e108012346d15894e8712c71 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 15 Nov 2016 23:28:54 +0000 Subject: perl-template.SlackBuild: Fix Module::Build (& ::Tiny) builds. Clarify that method #1 is preferred and method #2 requires modules which are non-core in perl-5.22. --- perl-template.SlackBuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild index fd7d6c8..2521e76 100644 --- a/perl-template.SlackBuild +++ b/perl-template.SlackBuild @@ -84,7 +84,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -102,7 +102,7 @@ find -L . \ # Your application may need different flags; these are provided as examples # There seem to be two different methods for building perl apps: -# Build method #1 +# Build method #1 (preferred) perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ @@ -113,15 +113,15 @@ make test make install DESTDIR=$PKG # Build method #2 +# requires perl-Module-Build or perl-Module-Build-Tiny perl Build.PL \ - prefix /usr \ - installdirs vendor + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 ./Build ./Build test ./Build install \ - --destdir $PKG \ - --install_path bindoc=/usr/man/man1 \ - --install_path libdoc=/usr/man/man3 + --destdir $PKG # Strip binaries and libraries - # If this is not needed,remove it from the script. -- cgit v1.2.3