| 1 |
jame-guest |
457 |
Description: Change version reference in Makefile.PL for Debian package build.
|
| 2 |
|
|
The Debian package build fails with the current way the Makefile.PL is set to
|
| 3 |
|
|
obtain the current version of LedgerSMB, because of the module requirements
|
| 4 |
|
|
brought in by the 'use LedgerSMB.pm' in order to get the VERSION that way.
|
| 5 |
|
|
Removed the 'user LedgerSMB.pm;' line and changed the version entry from
|
| 6 |
|
|
"version $LedgerSMB::VERSION;" to "version_from 'LedgerSMB.pm';"
|
| 7 |
jame-guest |
456 |
Author: Robert James Clay <jame@rocasa.us>
|
| 8 |
|
|
|
| 9 |
|
|
Index: ledgersmb/Makefile.PL
|
| 10 |
|
|
===================================================================
|
| 11 |
jame-guest |
457 |
--- ledgersmb.orig/Makefile.PL 2012-03-07 09:58:30.000000000 -0500
|
| 12 |
|
|
+++ ledgersmb/Makefile.PL 2012-03-14 15:47:01.000000000 -0400
|
| 13 |
|
|
@@ -2,11 +2,10 @@
|
| 14 |
|
|
|
| 15 |
|
|
use strict;
|
| 16 |
|
|
use warnings;
|
| 17 |
|
|
-use LedgerSMB;
|
| 18 |
jame-guest |
456 |
use inc::Module::Install 0.65;
|
| 19 |
|
|
|
| 20 |
|
|
name 'LedgerSMB';
|
| 21 |
jame-guest |
457 |
-version $LedgerSMB::VERSION;
|
| 22 |
jame-guest |
456 |
+version_from 'LedgerSMB.pm';
|
| 23 |
|
|
license 'GPL';
|
| 24 |
|
|
|
| 25 |
|
|
perl_version '5.8.1';
|