/[gentoo-x86]/net-misc/tor/files/tor-0.2.2.24_alpha-respect-CFLAGS.patch
Gentoo

Contents of /net-misc/tor/files/tor-0.2.2.24_alpha-respect-CFLAGS.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Apr 18 11:27:58 2011 UTC (3 years, 5 months ago) by blueness
Branch: MAIN
Version bump

(Portage version: 2.1.9.42/cvs/Linux x86_64)

1 diff -Naur tor-0.2.2.24-alpha.orig/configure.in tor-0.2.2.24-alpha/configure.in
2 --- tor-0.2.2.24-alpha.orig/configure.in 2011-04-08 16:32:17.000000000 -0400
3 +++ tor-0.2.2.24-alpha/configure.in 2011-04-18 07:10:57.000000000 -0400
4 @@ -9,6 +9,11 @@
5
6 AC_CANONICAL_HOST
7
8 +GENTOO_CFLAGS="$CFLAGS"
9 +GENTOO_LDFLAGS="$LDFLAGS"
10 +CFLAGS=
11 +LDFLAGS=
12 +
13 if test -f /etc/redhat-release ; then
14 if test -f /usr/kerberos/include ; then
15 CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
16 @@ -971,6 +976,8 @@
17
18
19 CPPFLAGS="$CPPFLAGS $TOR_CPPFLAGS_libevent $TOR_CPPFLAGS_openssl $TOR_CPPFLAGS_zlib"
20 +CFLAGS="$CFLAGS $GENTOO_CFLAGS"
21 +LDFLAGS="$LDFLAGS $GENTOO_LDFLAGS"
22
23 AC_CONFIG_FILES([Makefile tor.spec Doxyfile contrib/tor.sh contrib/torctl contrib/torify contrib/tor.logrotate contrib/Makefile src/config/torrc.sample src/Makefile doc/Makefile src/config/Makefile src/common/Makefile src/or/Makefile src/test/Makefile src/win32/Makefile src/tools/Makefile contrib/suse/Makefile contrib/suse/tor.sh])
24 AC_OUTPUT

  ViewVC Help
Powered by ViewVC 1.1.20