From f2fc2d60ae226a1b8d5411fb4aab91ea92be6f91 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 11 Apr 2005 08:04:41 +0000 Subject: Assist getting more ports working on AMD64 by obeying the Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'. --- math/atlas-devel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math/atlas-devel') diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile index 0af4bb2dbaf9..ec3d1f20848f 100644 --- a/math/atlas-devel/Makefile +++ b/math/atlas-devel/Makefile @@ -43,11 +43,11 @@ post-patch: @${REINPLACE_CMD} -e 's+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS}+g' \ -e 's+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g' \ ${WRKSRC}/config.c -.if (${MACHINE_ARCH} == "alpha") +.if (${ARCH} == "alpha") @(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/alpha-patch) .endif -.if ${MACHINE_ARCH} == "sparc64" +.if ${ARCH} == "sparc64" PICFLAG?= -fPIC .else PICFLAG?= -fpic -- cgit v1.2.3