pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/xchat Move --disable-mmx from Makefile to Makefil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e4623809605
branches:  trunk
changeset: 528048:8e4623809605
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Thu Apr 19 20:39:38 2007 +0000

description:
Move --disable-mmx from Makefile to Makefile.common - spotted by tron@

diffstat:

 chat/xchat/Makefile        |  3 +--
 chat/xchat/Makefile.common |  8 +++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r ecc9d1172ba7 -r 8e4623809605 chat/xchat/Makefile
--- a/chat/xchat/Makefile       Thu Apr 19 20:14:58 2007 +0000
+++ b/chat/xchat/Makefile       Thu Apr 19 20:39:38 2007 +0000
@@ -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 @@
 
 .if ${OPSYS} == "Darwin"
 INSTALL_UNSTRIPPED=    YES
-CONFIGURE_ARGS+=       --disable-mmx
 
 .if empty(PKG_BUILD_OPTIONS.gtk2+:Mquartz)
 LDFLAGS.Darwin+=       -lX11
diff -r ecc9d1172ba7 -r 8e4623809605 chat/xchat/Makefile.common
--- a/chat/xchat/Makefile.common        Thu Apr 19 20:14:58 2007 +0000
+++ b/chat/xchat/Makefile.common        Thu Apr 19 20:39:38 2007 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index