diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2019-12-27 16:44:16 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2019-12-27 16:44:16 +0000 |
commit | 4bb3aa6a2240f64f3e8fca995067dd7fa570aa29 (patch) | |
tree | d549aab6747d69d0ce3eb2c333bf522a3b031f13 /ports-mgmt/pkg_cleanup | |
parent | fac528a23aba291e718fab1cf999d6d3084a946d (diff) | |
download | freebsd-ports-4bb3aa6a2240f64f3e8fca995067dd7fa570aa29.zip |
Ensure building against the proper libncurses
Diffstat (limited to 'ports-mgmt/pkg_cleanup')
-rw-r--r-- | ports-mgmt/pkg_cleanup/files/Makefile | 4 |
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 |