diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-10-02 22:28:56 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-10-02 22:28:56 +0800 |
commit | bde2391c86cd3963cf143f59abb49e026d2a2003 (patch) | |
tree | 86add66cdec03b9358814d445d55fa5395aadd19 /misc | |
parent | a5763dc1fdd8228577c6c66227339039cd495301 (diff) | |
download | freebsd-ports-gnome-bde2391c86cd3963cf143f59abb49e026d2a2003.tar.gz freebsd-ports-gnome-bde2391c86cd3963cf143f59abb49e026d2a2003.tar.zst freebsd-ports-gnome-bde2391c86cd3963cf143f59abb49e026d2a2003.zip |
Add WITHOUT_SAMBA knob.
Diffstat (limited to 'misc')
-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 |