FreeBSD Bugzilla – Attachment 37251 Details for
Bug 59384
[PATCH] textproc/libxslt Compile installed .py files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libxslt.patch
libxslt.patch (text/plain), 1.08 KB, created by
Rui Lopes
on 2003-11-17 21:20:20 UTC
(
hide
)
Description:
libxslt.patch
Filename:
MIME Type:
Creator:
Rui Lopes
Created:
2003-11-17 21:20:20 UTC
Size:
1.08 KB
patch
obsolete
># * Compile python files on installation. ># -- Rui Lopes <rui@ruilopes.com> >diff -u libxslt.orig/Makefile libxslt/Makefile >--- libxslt.orig/Makefile Mon Nov 17 21:04:03 2003 >+++ libxslt/Makefile Mon Nov 17 21:06:00 2003 >@@ -48,4 +48,10 @@ > @${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging" > @${ECHO_MSG} "" > >+.if !defined(WITHOUT_PYTHON) >+post-install: >+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR} >+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR} >+.endif >+ > .include <bsd.port.mk> >Common subdirectories: libxslt.orig/files and libxslt/files >diff -u libxslt.orig/pkg-plist libxslt/pkg-plist >--- libxslt.orig/pkg-plist Mon Nov 17 21:04:03 2003 >+++ libxslt/pkg-plist Mon Nov 17 21:05:56 2003 >@@ -31,6 +31,8 @@ > lib/libxslt.so > lib/libxslt.so.2 > %%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxslt.py >+%%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxslt.pyc >+%%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxslt.pyo > %%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxsltmod.so > libdata/pkgconfig/libxslt.pc > share/aclocal/libxslt.m4
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 59384
: 37251