summaryrefslogtreecommitdiff
path: root/chat/xchat
diff options
context:
space:
mode:
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"