View | Details | Raw Unified | Return to bug 61853
Collapse All | Expand All

(-)boodler-1.5.3_1/Makefile (-1 / +6 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	boodler
8
PORTNAME=	boodler
9
PORTVERSION=	1.5.3
9
PORTVERSION=	1.5.3
10
PORTREVISION=	1
10
CATEGORIES=	audio
11
CATEGORIES=	audio
11
MASTER_SITES=	http://www.eblong.com/zarf/boodler/ \
12
MASTER_SITES=	http://www.eblong.com/zarf/boodler/ \
12
		http://s89813419.onlinehome.us/
13
		http://s89813419.onlinehome.us/
Lines 35-41 Link Here
35
	@${RMDIR} ${WRKDIR}/boodler-snd/string
36
	@${RMDIR} ${WRKDIR}/boodler-snd/string
36
37
37
do-build:
38
do-build:
38
	(cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER} && make)
39
	(cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER} ${PIC} && make)
39
	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/effects ${WRKSRC}/boodle/
40
	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/effects ${WRKSRC}/boodle/
40
41
41
do-install:
42
do-install:
Lines 52-56 Link Here
52
	@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
53
	@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
53
.endif
54
.endif
54
	@${CAT} ${PKGMESSAGE}
55
	@${CAT} ${PKGMESSAGE}
56
57
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
58
PIC=	--PIC
59
.endif
55
60
56
.include <bsd.port.mk>
61
.include <bsd.port.mk>
(-)boodler-1.5.3_1/files/patch-ab (+31 lines)
Line 0 Link Here
1
--- configure.py.orig	Sat Jan 24 18:44:11 2004
2
+++ configure.py	Sat Jan 24 18:46:37 2004
3
@@ -7,7 +7,7 @@
4
 import getopt
5
 
6
 usagemessage = 'usage: ' + sys.argv[0] + ' [-d NAME] [-i] [-I /dir/path] [-L /dir/path] [-l]'
7
-usagemessage = usagemessage + '\n   or: ' + sys.argv[0] + ' [--driver NAME] [--integer] [--include /dir/path] [--lib /dir/path] [--list]'
8
+usagemessage = usagemessage + '\n   or: ' + sys.argv[0] + ' [--driver NAME] [--integer] [--include /dir/path] [--lib /dir/path] [--list] [--PIC]'
9
 
10
 helpmessage = 'Boodler configuration script\n\n' + usagemessage + '''
11
 
12
@@ -68,8 +68,8 @@
13
 '''
14
 
15
 try:
16
-	(opts, args) = getopt.getopt(sys.argv[1:], 'd:I:L:lih', 
17
-		['driver=', 'include=', 'lib=', 'list', 'integer', 'help'])
18
+	(opts, args) = getopt.getopt(sys.argv[1:], 'd:I:L:lihP', 
19
+		['driver=', 'include=', 'lib=', 'list', 'integer', 'help', 'PIC'])
20
 except getopt.error, ex:
21
 	print (sys.argv[0] + ':'), str(ex)
22
 	print usagemessage
23
@@ -101,6 +101,8 @@
24
 		extraheaders.append(opval)
25
 	if (opname == '--lib' or opname == '-L'):
26
 		extralibs.append(opval)
27
+	if (opname == '--PIC' or opname == '-P'):
28
+		cflagopts = cflagopts + ' -fPIC'
29
 
30
 headerpath = extraheaders + headerpath
31
 libpath = extralibs + libpath

Return to bug 61853