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 MFH: 2018Q3 Sponsored by: Rubicon Communications, LLC (Netgate)
This commit is contained in:
parent
3eef51b03d
commit
6b95d9652a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475177
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue