svn commit: r475177 - head/devel/libslang2
Renato Botelho
garga at FreeBSD.org
Mon Jul 23 14:25:06 UTC 2018
Author: garga
Date: Mon Jul 23 14:25:04 2018
New Revision: 475177
URL: https://svnweb.freebsd.org/changeset/ports/475177
Log:
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 at olevole.ru
MFH: 2018Q3
Sponsored by: Rubicon Communications, LLC (Netgate)
Modified:
head/devel/libslang2/Makefile
Modified: head/devel/libslang2/Makefile
==============================================================================
--- head/devel/libslang2/Makefile Mon Jul 23 14:11:46 2018 (r475176)
+++ head/devel/libslang2/Makefile Mon Jul 23 14:25:04 2018 (r475177)
@@ -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
More information about the svn-ports-all
mailing list