summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-03-01 23:48:34 +0000
committerClement Laforet <clement@FreeBSD.org>2004-03-01 23:48:34 +0000
commitea9e735465ee18a7ed506f9a60cdf5a66f7dd3ea (patch)
tree1215761a644236fe204f1712d946d7ce1aae9c7d /www
parentgames/linux_nwnclient was repocopied to games/linux-nwnclient (diff)
- Fix build on -CURRENT
PR: 62721 Submitted by: Sergey Matveychuk <sem@ciam.ru>
Notes
Notes: svn path=/head/; revision=102690
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_kerb/Makefile10
-rw-r--r--www/mod_auth_kerb2/Makefile10
2 files changed, 8 insertions, 12 deletions
diff --git a/www/mod_auth_kerb/Makefile b/www/mod_auth_kerb/Makefile
index b9b806eb40f0..f82384b13cc9 100644
--- a/www/mod_auth_kerb/Makefile
+++ b/www/mod_auth_kerb/Makefile
@@ -29,12 +29,10 @@ USE_APACHE= yes
WRKSRC= ${WRKDIR}/src/modules/kerberos
KRB5_HOME?= ${LOCALBASE}
+USE_REINPLACE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502000
-BROKEN= "Does not compile"
-.endif
+post-patch:
+ @${REINPLACE_CMD} '379N;s/\n/ /' ${WRKSRC}/mod_auth_kerb.c
do-build:
cd ${WRKSRC} && \
@@ -49,4 +47,4 @@ do-build:
do-install:
${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_auth_kerb2/Makefile b/www/mod_auth_kerb2/Makefile
index b9b806eb40f0..f82384b13cc9 100644
--- a/www/mod_auth_kerb2/Makefile
+++ b/www/mod_auth_kerb2/Makefile
@@ -29,12 +29,10 @@ USE_APACHE= yes
WRKSRC= ${WRKDIR}/src/modules/kerberos
KRB5_HOME?= ${LOCALBASE}
+USE_REINPLACE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502000
-BROKEN= "Does not compile"
-.endif
+post-patch:
+ @${REINPLACE_CMD} '379N;s/\n/ /' ${WRKSRC}/mod_auth_kerb.c
do-build:
cd ${WRKSRC} && \
@@ -49,4 +47,4 @@ do-build:
do-install:
${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>