summaryrefslogtreecommitdiff
path: root/multimedia/smpeg/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-09-04 05:20:05 +0000
committerxtraeme <xtraeme>2005-09-04 05:20:05 +0000
commitd46dd8a120e7f2ad93bd7ff0da07a208bd1df768 (patch)
treee11c853faf1920bbfe26f45f5ac8433ab5d47e6e /multimedia/smpeg/Makefile
parent7c5d907fae2bf2b90f5ebeffe4d68b239852b059 (diff)
downloadpkgsrc-d46dd8a120e7f2ad93bd7ff0da07a208bd1df768.tar.gz
* Enable MMX option for i386 arch.
* Don't build the opengl/gtk player, make them options, by default off (I just wanted to install the library not the useless players). Bump PKGREVISION because PLIST has been modified.
Diffstat (limited to 'multimedia/smpeg/Makefile')
-rw-r--r--multimedia/smpeg/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile
index 5391fd4868c..668947d55d4 100644
--- a/multimedia/smpeg/Makefile
+++ b/multimedia/smpeg/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2005/08/10 04:03:07 grant Exp $
+# $NetBSD: Makefile,v 1.12 2005/09/04 05:20:05 xtraeme Exp $
#
DISTNAME= smpeg-0.4.4
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= devel multimedia
MASTER_SITES= ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
ftp://ftp.linuxgames.com/loki/open-source/smpeg/
@@ -15,7 +15,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES+= c++
USE_LIBTOOL= yes
CPPFLAGS+= -Dunix=1
@@ -29,7 +29,10 @@ post-wrapper:
> ${BUILDLINK_DIR}/include/malloc.h; \
fi
+.if ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --enable-mmx
+.endif
+
+.include "options.mk"
.include "../../devel/SDL/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"