[game-data-packager] 01/01: configure: add stubbed support of '--program-prefix'

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sat Nov 5 08:56:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 0c88682f710b0eb6a07f079ffd836ee11662dcbc
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sat Nov 5 09:51:55 2016 +0100

    configure: add stubbed support of '--program-prefix'
    
    this can be debugged with "rpm --eval %configure"
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index be81e7a..41461c7 100755
--- a/configure
+++ b/configure
@@ -69,6 +69,7 @@ class Configure:
                 oldincludedir='/usr/include',
                 pdfdir='${docdir}',
                 prefix='/usr/local',
+                program_prefix='',
                 psdir='${docdir}',
                 runstatedir='${localstatedir}/run',
                 sbindir='${exec_prefix}/sbin',
@@ -89,7 +90,7 @@ class Configure:
                 )
 
         for k, v in self.dirs.items():
-            self.parser.add_argument('--' + k, default=v)
+            self.parser.add_argument('--' + k.replace('_','-'), default=v)
 
         for k, v in self.with_.items():
             self.parser.add_argument('--with-' + k, default=v, dest=k)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list