MFH: r475177

devel/libslang2: Add missing LDFLAGS

Without linking libslang2.so.2.3.2 against libncurses a dependant binary
is going to file with `Undefined symbol "tgetent"` error.

PR:		229126
Submitted by:	olevole@olevole.ru
Sponsored by:	Rubicon Communications, LLC (Netgate)
Approved by:	ports-secteam (miwi)
This commit is contained in:
Renato Botelho 2018-07-23 14:58:57 +00:00
parent 1a3c107985
commit 2590cda0c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=475179

View File

@ -2,6 +2,7 @@
PORTNAME= libslang2
PORTVERSION= 2.3.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.jedsoft.org/releases/slang/
DISTNAME= slang-${PORTVERSION}
@ -13,13 +14,14 @@ LICENSE= GPLv2
CONFLICTS= libslang-1.*.j[0-9]
USES= tar:bzip2
USES= ncurses tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
PLIST_SUB+= SHLIB_VERSION=${PORTVERSION}
CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
LDFLAGS+= -lncurses
ALL_TARGET= all static
INSTALL_TARGET= install install-static