svn commit: r475179 - branches/2018Q3/devel/libslang2

Renato Botelho garga at FreeBSD.org
Mon Jul 23 14:58:58 UTC 2018


Author: garga
Date: Mon Jul 23 14:58:57 2018
New Revision: 475179
URL: https://svnweb.freebsd.org/changeset/ports/475179

Log:
  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 at olevole.ru
  Sponsored by:	Rubicon Communications, LLC (Netgate)
  Approved by:	ports-secteam (miwi)

Modified:
  branches/2018Q3/devel/libslang2/Makefile
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/devel/libslang2/Makefile
==============================================================================
--- branches/2018Q3/devel/libslang2/Makefile	Mon Jul 23 14:58:31 2018	(r475178)
+++ branches/2018Q3/devel/libslang2/Makefile	Mon Jul 23 14:58:57 2018	(r475179)
@@ -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