summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-10-02 14:28:56 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-10-02 14:28:56 +0000
commitbd5963a7b2a787777ad09592ec44a9381bc2349e (patch)
tree3b6b03da379404e153d19faa59585533acdb8598 /misc
parentUpdate to 0.08 (diff)
Add WITHOUT_SAMBA knob.
Notes
Notes: svn path=/head/; revision=90034
Diffstat (limited to 'misc')
-rw-r--r--misc/mc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 15325fe9a4ff..cba038c99d77 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -24,10 +24,13 @@ BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-samba --with-configdir=${LOCALBASE}/etc \
- --with-codepagedir=${LOCALBASE}/etc/codepages
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+.if !defined(WITHOUT_SAMBA)
+CONFIGURE_ARGS+=--with-samba --with-configdir=${LOCALBASE}/etc \
+ --with-codepagedir=${LOCALBASE}/etc/codepages
+.endif
+
.if !defined(WITHOUT_ICONV)
CONFIGURE_ARGS+=--enable-charset
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv