summaryrefslogtreecommitdiff
path: root/chat/xchat
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-04-19 20:39:38 +0000
committeradrianp <adrianp@pkgsrc.org>2007-04-19 20:39:38 +0000
commitf19ef384ce7c0223bfd29f2d0c9af33af6e95c96 (patch)
treeb7caacf4f8648ebd784ea57090ef6bfdf204ed9f /chat/xchat
parent497989ea5b2cc31e56d5e0989f63dc2a145277cc (diff)
downloadpkgsrc-f19ef384ce7c0223bfd29f2d0c9af33af6e95c96.tar.gz
Move --disable-mmx from Makefile to Makefile.common - spotted by tron@
Diffstat (limited to 'chat/xchat')
-rw-r--r--chat/xchat/Makefile3
-rw-r--r--chat/xchat/Makefile.common8
2 files changed, 8 insertions, 3 deletions
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"