From bd5963a7b2a787777ad09592ec44a9381bc2349e Mon Sep 17 00:00:00 2001 From: Max Khon Date: Thu, 2 Oct 2003 14:28:56 +0000 Subject: Add WITHOUT_SAMBA knob. --- misc/mc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'misc/mc') 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 -- cgit v1.2.3