From 2bc5a22020ebacdf9fe04c88c811c70255ed249d Mon Sep 17 00:00:00 2001 From: eadler Date: Tue, 25 Oct 2011 01:00:40 +0000 Subject: - make lzr dep. optional PR: ports/160661 Submitted by: "4720@hushmail.com" <4720@hushmail.com> Approved by: maintainer timeout (6 weeks) Approved by: bapt,sahil (mentors, implicit) --- comms/minicom/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile index 4f4f3000e3c0..9f9ef38df8d7 100644 --- a/comms/minicom/Makefile +++ b/comms/minicom/Makefile @@ -14,9 +14,13 @@ MASTER_SITES= http://alioth.debian.org/frs/download.php/3487/ MAINTAINER= johans@FreeBSD.org COMMENT= An MS-DOS Telix serial communication program "workalike" -RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz +OPTIONS= LRZSZ "Install X/Y/ZMODEM protocol handlers" on -USE_ICONV= yes +.include + +.if defined(WITH_LRZSZ) +RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz +.endif .if defined(WITHOUT_NLS) CONFIGURE_ARGS+=--disable-nls @@ -26,6 +30,7 @@ USE_GETTEXT= yes PLIST_SUB+= NLS="" .endif +USE_ICONV= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes -- cgit