aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python23
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-10-30 04:52:32 +0800
committersobomax <sobomax@FreeBSD.org>2003-10-30 04:52:32 +0800
commitbb6a31683cdc3e478874cdb67b5148e3df4d9d6a (patch)
tree42326f3e835c30c96afbfee7a1db062e5a375995 /lang/python23
parentcd540246efe2ececbb9891b5a6ca1995465f6d63 (diff)
downloadfreebsd-ports-gnome-bb6a31683cdc3e478874cdb67b5148e3df4d9d6a.tar.gz
freebsd-ports-gnome-bb6a31683cdc3e478874cdb67b5148e3df4d9d6a.tar.zst
freebsd-ports-gnome-bb6a31683cdc3e478874cdb67b5148e3df4d9d6a.zip
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).
Diffstat (limited to 'lang/python23')
-rw-r--r--lang/python23/Makefile1
-rw-r--r--lang/python23/files/patch-setup.py16
-rw-r--r--lang/python23/pkg-plist1
3 files changed, 16 insertions, 2 deletions
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