diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 14:12:36 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 14:12:36 +0000 |
commit | 6df3e23245b2c3793f24e4c42dd330d59419494c (patch) | |
tree | e86901dd11e5a970cf6211165d2b26dbe637e186 /audio/boodler/files/patch-configure.py | |
parent | lang/squeak: Claimed fix for PowerPC (diff) |
Rename audio/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'audio/boodler/files/patch-configure.py')
-rw-r--r-- | audio/boodler/files/patch-configure.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/audio/boodler/files/patch-configure.py b/audio/boodler/files/patch-configure.py new file mode 100644 index 000000000000..acfd88e13f7f --- /dev/null +++ b/audio/boodler/files/patch-configure.py @@ -0,0 +1,31 @@ +--- configure.py.orig Sat Jan 24 18:44:11 2004 ++++ configure.py Sat Jan 24 18:46:37 2004 +@@ -7,7 +7,7 @@ + import getopt + + usagemessage = 'usage: ' + sys.argv[0] + ' [-d NAME] [-i] [-I /dir/path] [-L /dir/path] [-l]' +-usagemessage = usagemessage + '\n or: ' + sys.argv[0] + ' [--driver NAME] [--integer] [--include /dir/path] [--lib /dir/path] [--list]' ++usagemessage = usagemessage + '\n or: ' + sys.argv[0] + ' [--driver NAME] [--integer] [--include /dir/path] [--lib /dir/path] [--list] [--PIC]' + + helpmessage = 'Boodler configuration script\n\n' + usagemessage + ''' + +@@ -68,8 +68,8 @@ + ''' + + try: +- (opts, args) = getopt.getopt(sys.argv[1:], 'd:I:L:lih', +- ['driver=', 'include=', 'lib=', 'list', 'integer', 'help']) ++ (opts, args) = getopt.getopt(sys.argv[1:], 'd:I:L:lihP', ++ ['driver=', 'include=', 'lib=', 'list', 'integer', 'help', 'PIC']) + except getopt.error, ex: + print (sys.argv[0] + ':'), str(ex) + print usagemessage +@@ -101,6 +101,8 @@ + extraheaders.append(opval) + if (opname == '--lib' or opname == '-L'): + extralibs.append(opval) ++ if (opname == '--PIC' or opname == '-P'): ++ cflagopts = cflagopts + ' -fPIC' + + headerpath = extraheaders + headerpath + libpath = extralibs + libpath |