From e27463f26df497465813592bf213072559566a06 Mon Sep 17 00:00:00 2001 From: adrianp Date: Thu, 19 Apr 2007 20:39:38 +0000 Subject: Move --disable-mmx from Makefile to Makefile.common - spotted by tron@ --- chat/xchat/Makefile | 3 +-- chat/xchat/Makefile.common | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'chat') diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile index 5313737aa28..ab409486697 100644 --- a/chat/xchat/Makefile +++ b/chat/xchat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2007/04/17 22:16:00 adrianp Exp $ +# $NetBSD: Makefile,v 1.48 2007/04/19 20:39:38 adrianp Exp $ .include "Makefile.common" @@ -28,7 +28,6 @@ BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 .if ${OPSYS} == "Darwin" INSTALL_UNSTRIPPED= YES -CONFIGURE_ARGS+= --disable-mmx .if empty(PKG_BUILD_OPTIONS.gtk2+:Mquartz) LDFLAGS.Darwin+= -lX11 diff --git a/chat/xchat/Makefile.common b/chat/xchat/Makefile.common index e6aca0371ed..0c1eda5a58d 100644 --- a/chat/xchat/Makefile.common +++ b/chat/xchat/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.53 2007/01/25 21:27:49 reed Exp $ +# $NetBSD: Makefile.common,v 1.54 2007/04/19 20:39:38 adrianp Exp $ DISTNAME= xchat-2.8.0 CATEGORIES= chat @@ -14,4 +14,10 @@ GNU_CONFIGURE= YES USE_LIBTOOL= YES USE_TOOLS+= gmake pkg-config +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +CONFIGURE_ARGS+= --disable-mmx +.endif + .include "../../devel/glib2/buildlink3.mk" -- cgit v1.2.3