ports/160661: [patch] comms/minicom: make lrzsz dependency optional
4720 at hushmail.com
4720 at hushmail.com
Sun Sep 11 15:40:06 UTC 2011
>Number: 160661
>Category: ports
>Synopsis: [patch] comms/minicom: make lrzsz dependency optional
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 11 15:40:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: 4720 at hushmail.com
>Release:
>Organization:
>Environment:
>Description:
the minicom port lists lrzsz as a required dependency, but it is only needed for doing file transfers. patch turns required depend into default on option.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/comms/minicom/Makefile,v
retrieving revision 1.56
diff -u -r1.56 Makefile
--- Makefile 17 Aug 2011 21:04:58 -0000 1.56
+++ Makefile 10 Sep 2011 08:45:42 -0000
@@ -14,9 +14,13 @@
MAINTAINER= johans at 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 <bsd.port.options.mk>
+
+.if defined(WITH_LRZSZ)
+RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz
+.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
@@ -26,6 +30,7 @@
PLIST_SUB+= NLS=""
.endif
+USE_ICONV= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list