summaryrefslogtreecommitdiff
path: root/devel/libast/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-05-31 21:35:13 +0000
committerwiz <wiz@pkgsrc.org>2005-05-31 21:35:13 +0000
commit6a50d7260d3bef930b75a038b4fd05f1ace061fa (patch)
treead56e78f057b023699be6a3b9dfcf8bf3902d12d /devel/libast/options.mk
parent884d8f6b44e0a7c892b79a489226dcd234638543 (diff)
downloadpkgsrc-6a50d7260d3bef930b75a038b4fd05f1ace061fa.tar.gz
Convert to options framework.
Diffstat (limited to 'devel/libast/options.mk')
-rw-r--r--devel/libast/options.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libast/options.mk b/devel/libast/options.mk
new file mode 100644
index 00000000000..568ad5ac0bf
--- /dev/null
+++ b/devel/libast/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2005/05/31 21:35:13 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libast
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+PKG_SUPPORTED_OPTIONS= mmx
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmmx)
+CONFIGURE_ARGS+= --enable-mmx
+.endif