From bb6a31683cdc3e478874cdb67b5148e3df4d9d6a Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 29 Oct 2003 20:52:32 +0000 Subject: Add missed ossaudiodev.so into pkg-plist (only for x86, since I don't have access to other arches yet), and enable it on freebsd5 (it's enabled on freebsd4 OOB). --- lang/python23/Makefile | 1 + lang/python23/files/patch-setup.py | 16 ++++++++++++++-- lang/python23/pkg-plist | 1 + 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'lang/python23') diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 00d8a0faa350..48881c64f3e8 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -7,6 +7,7 @@ PORTNAME= python PORTVERSION= 2.3.2 +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= ${MASTER_SITE_PYTHON} MASTER_SITE_SUBDIR= ${PYTHON_SITE_SUBDIR} diff --git a/lang/python23/files/patch-setup.py b/lang/python23/files/patch-setup.py index 139ea97743d5..4ed24bdb54d5 100644 --- a/lang/python23/files/patch-setup.py +++ b/lang/python23/files/patch-setup.py @@ -1,5 +1,8 @@ ---- setup.py.orig Thu Jul 10 21:48:39 2003 -+++ setup.py Sat Jul 19 16:27:04 2003 + +$FreeBSD$ + +--- setup.py.orig Mon Sep 22 04:19:45 2003 ++++ setup.py Wed Oct 29 22:47:51 2003 @@ -15,7 +15,7 @@ from distutils.command.install_lib import install_lib @@ -9,3 +12,12 @@ def add_dir_to_list(dirlist, dir): """Add the directory 'dir' to the list 'dirlist' (at the front) if +@@ -765,7 +765,7 @@ + # Linux-specific modules + exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) + +- if platform in ('linux2', 'freebsd4'): ++ if platform in ('linux2', 'freebsd4', 'freebsd5'): + exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) + + if platform == 'sunos5': diff --git a/lang/python23/pkg-plist b/lang/python23/pkg-plist index 70a5567f617d..47710b7b4b3a 100644 --- a/lang/python23/pkg-plist +++ b/lang/python23/pkg-plist @@ -966,6 +966,7 @@ lib/%%PYTHON_VERSION%%/idlelib/Icons/folder.gif lib/%%PYTHON_VERSION%%/idlelib/Icons/idle.icns lib/%%PYTHON_VERSION%%/idlelib/Icons/minusnode.gif lib/%%PYTHON_VERSION%%/idlelib/Icons/openfolder.gif +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/ossaudiodev.so lib/%%PYTHON_VERSION%%/idlelib/Icons/plusnode.gif lib/%%PYTHON_VERSION%%/idlelib/Icons/python.gif lib/%%PYTHON_VERSION%%/idlelib/Icons/tk.gif -- cgit