diff options
author | miwi <miwi@FreeBSD.org> | 2009-11-26 22:04:19 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-11-26 22:04:19 +0800 |
commit | 04def9ad4001eb8563e439b2d1f2d125bd8b4f01 (patch) | |
tree | 718998b83246c3ac3359267270aa894794928458 /lang/python25 | |
parent | 9f2aee107fa85e4a06a762fbd6311e418fb876e0 (diff) | |
download | freebsd-ports-gnome-04def9ad4001eb8563e439b2d1f2d125bd8b4f01.tar.gz freebsd-ports-gnome-04def9ad4001eb8563e439b2d1f2d125bd8b4f01.tar.zst freebsd-ports-gnome-04def9ad4001eb8563e439b2d1f2d125bd8b4f01.zip |
- Add support for FreeBSD 9
Diffstat (limited to 'lang/python25')
-rw-r--r-- | lang/python25/Makefile | 6 | ||||
-rw-r--r-- | lang/python25/files/patch-freebsd8 | 2 | ||||
-rw-r--r-- | lang/python25/pkg-plist | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile index 418c0e373239..2b742b5828d9 100644 --- a/lang/python25/Makefile +++ b/lang/python25/Makefile @@ -6,7 +6,7 @@ PORTNAME= python25 PORTVERSION= 2.5.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang python ipv6 MASTER_SITES= ${PYTHON_MASTER_SITES} MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} @@ -40,7 +40,7 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_VERSION} DATADIR= ${PREFIX}/share/${PYTHON_VERSION} PLATFORMS= plat-freebsd4 plat-freebsd5 plat-freebsd6 \ - plat-freebsd7 plat-freebsd8 + plat-freebsd7 plat-freebsd8 plat-freebsd9 BIN_SCRIPTS= idle pydoc python python-shared smtpd.py python-config \ python-shared-config @@ -170,6 +170,8 @@ pre-build: ${LN} -f python ${PYTHON_VERSION:S/thon/thon-shared/} pre-su-install: + ${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \ + ${PATCH_WRKSRC}/Lib/plat-freebsd9 .for platform in ${PLATFORMS} ${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform} .for file in IN.py regen diff --git a/lang/python25/files/patch-freebsd8 b/lang/python25/files/patch-freebsd8 index 51c5c39f7026..ad4f1eff7c67 100644 --- a/lang/python25/files/patch-freebsd8 +++ b/lang/python25/files/patch-freebsd8 @@ -932,7 +932,7 @@ Index: Lib/plat-freebsd8/IN.py if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', - 'freebsd7'): -+ 'freebsd7', 'freebsd8'): ++ 'freebsd7', 'freebsd8', 'freebsd9'): exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) if platform == 'sunos5': diff --git a/lang/python25/pkg-plist b/lang/python25/pkg-plist index 8058d47a9550..f6936e168edc 100644 --- a/lang/python25/pkg-plist +++ b/lang/python25/pkg-plist @@ -753,6 +753,8 @@ lib/lib%%PYTHON_VERSION%%.so.1 %%PYTHON_LIBDIR%%/plat-freebsd7/regen %%PYTHON_LIBDIR%%/plat-freebsd8/IN.py %%PYTHON_LIBDIR%%/plat-freebsd8/regen +%%PYTHON_LIBDIR%%/plat-freebsd9/IN.py +%%PYTHON_LIBDIR%%/plat-freebsd9/regen %%PYTHON_LIBDIR%%/platform.py %%PYTHON_LIBDIR%%/popen2.py %%PYTHON_LIBDIR%%/poplib.py @@ -1986,6 +1988,7 @@ lib/lib%%PYTHON_VERSION%%.so.1 @dirrm %%PYTHON_LIBDIR%%/sqlite3/test @dirrm %%PYTHON_LIBDIR%%/sqlite3 @dirrm %%PYTHON_LIBDIR%%/site-packages +@dirrm %%PYTHON_LIBDIR%%/plat-freebsd9 @dirrm %%PYTHON_LIBDIR%%/plat-freebsd8 @dirrm %%PYTHON_LIBDIR%%/plat-freebsd7 @dirrm %%PYTHON_LIBDIR%%/plat-freebsd6 |