summaryrefslogtreecommitdiff
path: root/sysutils/mc/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/mc/options.mk')
-rw-r--r--sysutils/mc/options.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/mc/options.mk b/sysutils/mc/options.mk
index b7caeb9c704..910e048b711 100644
--- a/sysutils/mc/options.mk
+++ b/sysutils/mc/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2005/08/04 10:17:13 rillig Exp $
+# $NetBSD: options.mk,v 1.5 2005/08/04 10:32:01 rillig Exp $
#
### The charset option enables input/display support for various 8-bit
@@ -19,6 +19,15 @@ PLIST_SRC+= ${PKGDIR}/PLIST.mcedit
CONFIGURE_ARGS+= --without-edit
.endif
+### On some systems where glib-2.0 does not build, glib-1.2 can be used
+### instead.
+.if !empty(PKG_OPTIONS:Mglib12)
+CONFIGURE_ARGS+= --with-glib12
+.include "../../devel/glib/buildlink3.mk"
+.else
+.include "../../devel/glib2/buildlink3.mk"
+.endif
+
### Enable the Samba virtual file system. You can connect to Windows
### file servers or Samba servers in your network.
.if !empty(PKG_OPTIONS:Msamba)