From 677b66726448c6a3c5f2d1345d1e49ac4317857a Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 21 Aug 2004 12:25:42 +0000 Subject: [PATCH] Detect amd64 by using config.sub and config.guess from TEMPLATES --- databases/p5-sqlrelay/Makefile | 2 ++ databases/php-sqlrelay/Makefile | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/databases/p5-sqlrelay/Makefile b/databases/p5-sqlrelay/Makefile index 1d853dbfab98..d8793476d9d8 100644 --- a/databases/p5-sqlrelay/Makefile +++ b/databases/p5-sqlrelay/Makefile @@ -41,6 +41,8 @@ do-extract: ${MKDIR} ${WRKDIR} ${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC} ${RM} -f ${WRKSRC}/config.cache + ${CP} ${TEMPLATES}/config.sub ${WRKSRC} + ${CP} ${TEMPLATES}/config.guess ${WRKSRC} do-build: for dir in ${WRKSRC}/src/api/perl/*; do \ diff --git a/databases/php-sqlrelay/Makefile b/databases/php-sqlrelay/Makefile index b70d1e1ab1ce..07dd809b3cbe 100644 --- a/databases/php-sqlrelay/Makefile +++ b/databases/php-sqlrelay/Makefile @@ -35,14 +35,12 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \ .include -.if ${ARCH} == "amd64" -BROKEN= "Configure fails on amd64" -.endif - do-extract: ${MKDIR} ${WRKDIR} ${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC} ${RM} -f ${WRKSRC}/config.cache + ${CP} ${TEMPLATES}/config.sub ${WRKSRC} + ${CP} ${TEMPLATES}/config.guess ${WRKSRC} pre-install: ${MKDIR} `php-config --extension-dir`