Fix minicom build for WITHOUT_NLS (force libiconv dependency and linking)
Reported by: Gordon Shumway PR: ports/159739
This commit is contained in:
parent
9f8867cf62
commit
78e978fe35
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279926
1 changed files with 6 additions and 3 deletions
|
@ -16,22 +16,25 @@ COMMENT= An MS-DOS Telix serial communication program "workalike"
|
|||
|
||||
RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz
|
||||
|
||||
USE_ICONV= yes
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.endif
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
|
||||
--sysconfdir=${PREFIX}/etc/minicom \
|
||||
--enable-lock-dir=/var/spool/lock \
|
||||
--enable-dfl-port=${MINICOM_DEFAULT_PORT} \
|
||||
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
MAKE_ARGS+= LIBS+="-liconv -lcurses"
|
||||
|
||||
MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1
|
||||
|
||||
|
|
Loading…
Reference in a new issue