FreeBSD Bugzilla – Attachment 77179 Details for
Bug 111182
[PATCH] devel/py-simplejson: fix build on pointyhat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py24-simplejson-1.7.1.patch
py24-simplejson-1.7.1.patch (text/plain), 1.86 KB, created by
Nicola Vitale
on 2007-04-03 10:10:03 UTC
(
hide
)
Description:
py24-simplejson-1.7.1.patch
Filename:
MIME Type:
Creator:
Nicola Vitale
Created:
2007-04-03 10:10:03 UTC
Size:
1.86 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/devel/py-simplejson/Makefile /usr/ports/devel/py-simplejson.fix_build/Makefile >--- /usr/ports/devel/py-simplejson/Makefile Tue Apr 3 10:17:59 2007 >+++ /usr/ports/devel/py-simplejson.fix_build/Makefile Tue Apr 3 10:14:00 2007 >@@ -20,15 +20,21 @@ > USE_PYTHON= yes > USE_PYDISTUTILS= yes > >-PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-freebsd-${OSRELEASE}-${ARCH}.egg >+PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-${OSINFOS}.egg >+OSINFOS= ${OPSYS:L}-${OSRELEASE}-${ARCH} > >-PLIST_SUB+= PYSIMPLEJSON_EGG=${PYSIMPLEJSON_EGG} \ >- EGG_VER="${PORTNAME}==${PORTVERSION}" >+PLIST_SUB+= PYSIMPLEJSON_EGG=${PYSIMPLEJSON_EGG} > > .if !defined(NOPORTDOCS) > DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME} > PORTDOCS= * > .endif >+ >+pre-build: >+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-platlib -s lib.${OSINFOS} >+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-temp -s temp.${OSINFOS}-${PYTHON_VER} >+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o plat-name -s ${OSINFOS} >+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o plat-name -s ${OSINFOS} > > post-install: > .if !defined(NOPORTDOCS) >diff -ruN --exclude=CVS /usr/ports/devel/py-simplejson/pkg-plist /usr/ports/devel/py-simplejson.fix_build/pkg-plist >--- /usr/ports/devel/py-simplejson/pkg-plist Sat Jan 27 21:34:18 2007 >+++ /usr/ports/devel/py-simplejson.fix_build/pkg-plist Mon Mar 19 19:59:00 2007 >@@ -1,4 +1,4 @@ > @comment $FreeBSD: ports/devel/py-simplejson/pkg-plist,v 1.3 2007/01/27 00:35:01 nivit Exp $ >-@unexec easy_install -q -m -S %D/%%PYTHON_SITELIBDIR%% %%EGG_VER%% >+@unexec easy_install -q -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYSIMPLEJSON_EGG%% > %%PYTHON_SITELIBDIR%%/%%PYSIMPLEJSON_EGG%% >-@exec easy_install -q -N -S %D/%%PYTHON_SITELIBDIR%% %%EGG_VER%% >+@exec easy_install -N %D/%%PYTHON_SITELIBDIR%%/%%PYSIMPLEJSON_EGG%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111182
: 77179