1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Update to 2.8

- Remove the unneeded patch

PR:		ports/140958
Submitted by:	Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
This commit is contained in:
Wen Heping 2009-11-28 11:38:53 +00:00
parent 7799592244
commit 709fba1bb3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244907
6 changed files with 10 additions and 66 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mod_wsgi
PORTVERSION= 2.7
PORTVERSION= 2.8
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
@ -23,7 +23,7 @@ CONFLICTS= mod_wsgi-3.*
PROJECTHOST= modwsgi
USE_APACHE= 1.3+
USE_PYTHON= 2.5-2.6
USE_PYTHON= 2.3-2.6
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"

View File

@ -1,3 +1,3 @@
MD5 (mod_wsgi-2.7.tar.gz) = 60f3bf145eb804286b5fbf4e730a7ed1
SHA256 (mod_wsgi-2.7.tar.gz) = 5596b3968d4c90d667309f08f966e6f05b1bfae36b082783009af580aa5fa44b
SIZE (mod_wsgi-2.7.tar.gz) = 99956
MD5 (mod_wsgi-2.8.tar.gz) = f4d09ce314502f438af3155348cfc234
SHA256 (mod_wsgi-2.8.tar.gz) = 4c93167002d718c5899afb86495152acdc9f15f351e374a6886caff76b7f7d82
SIZE (mod_wsgi-2.8.tar.gz) = 99997

View File

@ -1,28 +0,0 @@
Index: configure
===================================================================
--- configure (revision 1487)
+++ configure (working copy)
@@ -1851,16 +1851,22 @@
fi
CFLAGS1=""
+for arg in ${CFLAGS}
+do
+ CFLAGS1="${CFLAGS1} -Wc,$arg"
+done
+
+CFLAGS2=""
if test -x /usr/bin/lipo; then
LDFLAGS3=""
ARCHITECTURES=`/usr/bin/lipo -info $HTTPD | sed -e 's/.*://'`
for ARCH in $ARCHITECTURES; do
- CFLAGS1="${CFLAGS1} -Wc,'-arch ${ARCH}'"
+ CFLAGS2="${CFLAGS2} -Wc,'-arch ${ARCH}'"
LDFLAGS3="${LDFLAGS3} -arch ${ARCH}"
done
fi
-CFLAGS="${CFLAGS} ${CFLAGS1}"
+CFLAGS="${CFLAGS1} ${CFLAGS2}"
LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}"
LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}"

View File

@ -6,7 +6,7 @@
#
PORTNAME= mod_wsgi
PORTVERSION= 2.7
PORTVERSION= 2.8
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
@ -23,7 +23,7 @@ CONFLICTS= mod_wsgi-3.*
PROJECTHOST= modwsgi
USE_APACHE= 1.3+
USE_PYTHON= 2.5-2.6
USE_PYTHON= 2.3-2.6
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"

View File

@ -1,3 +1,3 @@
MD5 (mod_wsgi-2.7.tar.gz) = 60f3bf145eb804286b5fbf4e730a7ed1
SHA256 (mod_wsgi-2.7.tar.gz) = 5596b3968d4c90d667309f08f966e6f05b1bfae36b082783009af580aa5fa44b
SIZE (mod_wsgi-2.7.tar.gz) = 99956
MD5 (mod_wsgi-2.8.tar.gz) = f4d09ce314502f438af3155348cfc234
SHA256 (mod_wsgi-2.8.tar.gz) = 4c93167002d718c5899afb86495152acdc9f15f351e374a6886caff76b7f7d82
SIZE (mod_wsgi-2.8.tar.gz) = 99997

View File

@ -1,28 +0,0 @@
Index: configure
===================================================================
--- configure (revision 1487)
+++ configure (working copy)
@@ -1851,16 +1851,22 @@
fi
CFLAGS1=""
+for arg in ${CFLAGS}
+do
+ CFLAGS1="${CFLAGS1} -Wc,$arg"
+done
+
+CFLAGS2=""
if test -x /usr/bin/lipo; then
LDFLAGS3=""
ARCHITECTURES=`/usr/bin/lipo -info $HTTPD | sed -e 's/.*://'`
for ARCH in $ARCHITECTURES; do
- CFLAGS1="${CFLAGS1} -Wc,'-arch ${ARCH}'"
+ CFLAGS2="${CFLAGS2} -Wc,'-arch ${ARCH}'"
LDFLAGS3="${LDFLAGS3} -arch ${ARCH}"
done
fi
-CFLAGS="${CFLAGS} ${CFLAGS1}"
+CFLAGS="${CFLAGS1} ${CFLAGS2}"
LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}"
LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}"