diff options
author | mbr <mbr@FreeBSD.org> | 2002-09-11 20:51:34 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-09-11 20:51:34 +0800 |
commit | 9b0c63c17cc998168f170cda6ebd98a4e9b129c2 (patch) | |
tree | 21e27c6119b965ba1c667b522738ded3799b3003 /www/mod_auth_mysql_another | |
parent | 65316feaed1e00204ecb629417ee6988ddd7426e (diff) | |
download | freebsd-ports-gnome-9b0c63c17cc998168f170cda6ebd98a4e9b129c2.tar.gz freebsd-ports-gnome-9b0c63c17cc998168f170cda6ebd98a4e9b129c2.tar.zst freebsd-ports-gnome-9b0c63c17cc998168f170cda6ebd98a4e9b129c2.zip |
Unbreak port on stable. Apxs was hardcoded in the Makefile.
Diffstat (limited to 'www/mod_auth_mysql_another')
-rw-r--r-- | www/mod_auth_mysql_another/Makefile | 5 | ||||
-rw-r--r-- | www/mod_auth_mysql_another/files/patch-Makefile | 4 |
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 |