summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-04-19 20:39:38 +0000
committeradrianp <adrianp>2007-04-19 20:39:38 +0000
commite27463f26df497465813592bf213072559566a06 (patch)
treeb7caacf4f8648ebd784ea57090ef6bfdf204ed9f /chat
parentde98cf88219a8075ebfb7ccc45851c7f5e01b28a (diff)
downloadpkgsrc-e27463f26df497465813592bf213072559566a06.tar.gz
Move --disable-mmx from Makefile to Makefile.common - spotted by tron@
Diffstat (limited to 'chat')
-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"