diff options
Diffstat (limited to 'misc/mc/Makefile')
-rw-r--r-- | misc/mc/Makefile | 7 |
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 |