aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/mod_auth_mysql_another/Makefile5
-rw-r--r--www/mod_auth_mysql_another/files/patch-Makefile4
2 files changed, 6 insertions, 3 deletions
diff --git a/www/mod_auth_mysql_another/Makefile b/www/mod_auth_mysql_another/Makefile
index 831c3599fbc6..f37f3dde0e4a 100644
--- a/www/mod_auth_mysql_another/Makefile
+++ b/www/mod_auth_mysql_another/Makefile
@@ -59,7 +59,10 @@ do-extract:
post-patch:
@${CP} ${WRKDIR}/mod_auth_mysql/Makefile ${WRKDIR}/mod_auth_mysql/Makefile.new
- @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${WRKDIR}/mod_auth_mysql/Makefile.new \
+ @(${SED} -e 's|%%PREFIX%%|${PREFIX}|g' | \
+ ${SED} -e 's|%%APXS%%|${APXS}|g' | \
+ ${SED} -e 's|%%APXSFLAGS%%|${APXSFLAGS}|g') \
+ < ${WRKDIR}/mod_auth_mysql/Makefile.new \
> ${WRKDIR}/mod_auth_mysql/Makefile
post-install:
diff --git a/www/mod_auth_mysql_another/files/patch-Makefile b/www/mod_auth_mysql_another/files/patch-Makefile
index 7f797afafccf..62665ace52a6 100644
--- a/www/mod_auth_mysql_another/files/patch-Makefile
+++ b/www/mod_auth_mysql_another/files/patch-Makefile
@@ -1,8 +1,8 @@
--- /dev/null Sat Apr 20 17:11:40 2002
+++ Makefile Sat Apr 20 17:12:22 2002
@@ -0,0 +1,17 @@
-+APXS = apxs
-+APXSFLAGS =
++APXS = %%APXS%%
++APXSFLAGS = %%APXSFLAGS%%
+DSO = mod_auth_mysql.so
+SRCS = mod_auth_mysql.c
+OPTS = -I%%PREFIX%%/include -L%%PREFIX%%/lib/mysql -lmysqlclient