Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2019 16:44:16 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521011 - head/ports-mgmt/pkg_cleanup/files
Message-ID:  <201912271644.xBRGiGbA005544@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 16:44:16 2019
New Revision: 521011
URL: https://svnweb.freebsd.org/changeset/ports/521011

Log:
  Ensure building against the proper libncurses

Modified:
  head/ports-mgmt/pkg_cleanup/files/Makefile

Modified: head/ports-mgmt/pkg_cleanup/files/Makefile
==============================================================================
--- head/ports-mgmt/pkg_cleanup/files/Makefile	Fri Dec 27 16:36:23 2019	(r521010)
+++ head/ports-mgmt/pkg_cleanup/files/Makefile	Fri Dec 27 16:44:16 2019	(r521011)
@@ -1,6 +1,10 @@
 # $FreeBSD$
 
+.if exists(/usr/lib/libncursesw.so)
 LDLIBS += -lncursesw
+.else
+LDLIBS += -lncurses
+.endif
 LDLIBS += -ldialog
 
 all: pkg_cleanup



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912271644.xBRGiGbA005544>