aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg_cleanup
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2019-12-27 16:44:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2019-12-27 16:44:16 +0000
commit4bb3aa6a2240f64f3e8fca995067dd7fa570aa29 (patch)
treed549aab6747d69d0ce3eb2c333bf522a3b031f13 /ports-mgmt/pkg_cleanup
parentfac528a23aba291e718fab1cf999d6d3084a946d (diff)
downloadports-4bb3aa6a2240f64f3e8fca995067dd7fa570aa29.tar.gz
ports-4bb3aa6a2240f64f3e8fca995067dd7fa570aa29.zip
Ensure building against the proper libncurses
Notes
Notes: svn path=/head/; revision=521011
Diffstat (limited to 'ports-mgmt/pkg_cleanup')
-rw-r--r--ports-mgmt/pkg_cleanup/files/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports-mgmt/pkg_cleanup/files/Makefile b/ports-mgmt/pkg_cleanup/files/Makefile
index a6a94a0e10fa..551675bff7d5 100644
--- a/ports-mgmt/pkg_cleanup/files/Makefile
+++ b/ports-mgmt/pkg_cleanup/files/Makefile
@@ -1,6 +1,10 @@
# $FreeBSD$
+.if exists(/usr/lib/libncursesw.so)
LDLIBS += -lncursesw
+.else
+LDLIBS += -lncurses
+.endif
LDLIBS += -ldialog
all: pkg_cleanup