svn commit: r521011 - head/ports-mgmt/pkg_cleanup/files

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 27 16:44:17 UTC 2019


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


More information about the svn-ports-head mailing list