From 0f0f0dce348e9f155d286e6a9515bffc0f67d156 Mon Sep 17 00:00:00 2001 From: rtr Date: Fri, 23 Jan 2004 08:59:20 +0000 Subject: [PATCH] -lx86_64 if x86_64 --- x11/Xserver/Xserver/XFree86/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/x11/Xserver/Xserver/XFree86/Makefile b/x11/Xserver/Xserver/XFree86/Makefile index 194f05a72bee..dc16ea3a1c52 100644 --- a/x11/Xserver/Xserver/XFree86/Makefile +++ b/x11/Xserver/Xserver/XFree86/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2004/01/08 03:36:24 rtr Exp $ +# $NetBSD: Makefile,v 1.9 2004/01/23 08:59:20 rtr Exp $ .include @@ -34,7 +34,10 @@ DPADD= ${DPADD.hw/xfree86/xf86} ${DPADD.hw/xfree86/xf86config} \ ${LIBLBXUTIL} ${DPADD.randr} ${DPADD.render} ${DPADD.dix/xpstubs} \ ${DPADD.mi} ${LIBZ} ${LIBM} -.if ${MACHINE} == "i386" +.if ${MACHINE_ARCH} == "x86_64" +LDADD+= -lx86_64 +DPADD+= ${LIBX86_64} +.elif ${MACHINE} == "i386" LDADD+= -li386 DPADD+= ${LIBI386} .endif