summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apache/mod_auth_token/ChangeLog6
-rw-r--r--www-apache/mod_auth_token/mod_auth_token-1.0.6_beta.ebuild16
2 files changed, 21 insertions, 1 deletions
diff --git a/www-apache/mod_auth_token/ChangeLog b/www-apache/mod_auth_token/ChangeLog
index 61a7721dd99e..a49ddc6c5036 100644
--- a/www-apache/mod_auth_token/ChangeLog
+++ b/www-apache/mod_auth_token/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apache/mod_auth_token
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_token/ChangeLog,v 1.2 2011/08/31 15:55:41 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_token/ChangeLog,v 1.3 2011/08/31 16:03:56 flameeyes Exp $
+
+ 31 Aug 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ mod_auth_token-1.0.6_beta.ebuild:
+ Respect CFLAGS/LDFLAGS properly.
31 Aug 2011; Diego E. Pettenò <flameeyes@gentoo.org>
mod_auth_token-1.0.6_beta.ebuild:
diff --git a/www-apache/mod_auth_token/mod_auth_token-1.0.6_beta.ebuild b/www-apache/mod_auth_token/mod_auth_token-1.0.6_beta.ebuild
index 30d9ce57b954..e50dc62639cd 100644
--- a/www-apache/mod_auth_token/mod_auth_token-1.0.6_beta.ebuild
+++ b/www-apache/mod_auth_token/mod_auth_token-1.0.6_beta.ebuild
@@ -29,3 +29,19 @@ S="${WORKDIR}/${PN}"
src_prepare() {
epatch "${FILESDIR}"/${P}-ap_pstrcat.patch
}
+
+src_compile() {
+ local flag=
+ APXS2_ARGS=
+
+ for flag in ${CFLAGS}; do
+ APXS2_ARGS+=" -Wc,${flag}"
+ done
+
+ for flag in ${LDFLAGS}; do
+ APXS2_ARGS+=" -Wl,${flag}"
+ done
+
+ APXS2_ARGS="${APXS2_ARGS} -c ${PN}.c"
+ apache-module_src_compile
+}