From ea9e735465ee18a7ed506f9a60cdf5a66f7dd3ea Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Mon, 1 Mar 2004 23:48:34 +0000 Subject: [PATCH] - Fix build on -CURRENT PR: 62721 Submitted by: Sergey Matveychuk --- www/mod_auth_kerb/Makefile | 10 ++++------ www/mod_auth_kerb2/Makefile | 10 ++++------ 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 - -.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 +.include 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 - -.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 +.include