ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/www/mod_wsgi3/files/patch-configure
Revision: 145
Committed: 2009-11-23T00:53:14-08:00 (15 years, 6 months ago) by douglas
Content type: text/x-diff
File size: 753 byte(s)
Log Message:
Apply Graham's fix to the 3.0 port.

File Contents

# Content
1 Index: configure
2 ===================================================================
3 --- configure (revision 1487)
4 +++ configure (working copy)
5 @@ -1851,16 +1851,22 @@
6 fi
7
8 CFLAGS1=""
9 +for arg in ${CFLAGS}
10 +do
11 + CFLAGS1="${CFLAGS1} -Wc,$arg"
12 +done
13 +
14 +CFLAGS2=""
15 if test -x /usr/bin/lipo; then
16 LDFLAGS3=""
17 ARCHITECTURES=`/usr/bin/lipo -info $HTTPD | sed -e 's/.*://'`
18 for ARCH in $ARCHITECTURES; do
19 - CFLAGS1="${CFLAGS1} -Wc,'-arch ${ARCH}'"
20 + CFLAGS2="${CFLAGS2} -Wc,'-arch ${ARCH}'"
21 LDFLAGS3="${LDFLAGS3} -arch ${ARCH}"
22 done
23 fi
24
25 -CFLAGS="${CFLAGS} ${CFLAGS1}"
26 +CFLAGS="${CFLAGS1} ${CFLAGS2}"
27 LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}"
28 LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}"

Properties

Name Value
svn:mime-type text/x-diff