ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/diff/www/mod_wsgi3/mod_wsgi3.2010-07-27T062825Z.diff
Revision: 331
Committed: 2010-07-26T23:01:32-07:00 (14 years, 11 months ago) by douglas
Original Path: freebsd/www/mod_wsgi3.patch
File size: 1722 byte(s)
Log Message:
Add a warning about lack of thread support and daemon mode to pkg-message and pre-everything.

File Contents

# User Rev Content
1 douglas 149 diff -Nrux .svn -x work /usr/ports/www/mod_wsgi3/Makefile mod_wsgi3/Makefile
2 douglas 331 --- /usr/ports/www/mod_wsgi3/Makefile 2010-07-15 15:29:46.000000000 -0700
3     +++ mod_wsgi3/Makefile 2010-07-26 22:58:43.184547794 -0700
4     @@ -17,6 +17,8 @@
5     MAINTAINER= douglas@douglasthrift.net
6     COMMENT= Python WSGI adapter module for Apache
7 douglas 149
8 douglas 331 +LICENSE= ASL
9     +
10     MAKE_JOBS_SAFE= yes
11    
12     #LATEST_LINK= mod_wsgi
13     @@ -38,6 +40,14 @@
14     IGNORE= is unsupported with Python 3.0
15     .endif
16    
17     +pre-everything::
18     + @${ECHO_MSG} "======================= ATTENTION! ======================"
19     + @${ECHO_MSG}
20     + @${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
21     + @${ECHO_MSG} "Apache and APR include thread support."
22     + @${ECHO_MSG}
23     + @${ECHO_MSG} "========================================================="
24     +
25     post-install:
26     @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
27     @${CAT} ${PKGMESSAGE}
28     diff -Nrux .svn -x work /usr/ports/www/mod_wsgi3/files/pkg-message.in mod_wsgi3/files/pkg-message.in
29     --- /usr/ports/www/mod_wsgi3/files/pkg-message.in 2008-09-02 14:55:40.000000000 -0700
30     +++ mod_wsgi3/files/pkg-message.in 2010-07-26 22:56:40.341168406 -0700
31     @@ -1,5 +1,8 @@
32     -================================================================================
33     +============================================================================
34    
35     -For more information, see http://www.modwsgi.org/.
36     +If you want to use daemon mode you will need to make sure Apache and APR
37     +include thread support.
38    
39     -================================================================================
40     +For more information, see http://www.modwsgi.org/wiki/InstallationOnFreeBSD.
41     +
42     +============================================================================