aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-06 13:54:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-06 13:54:57 +0000
commita5b77af446c8b5c20648e0fc166822558f24f2b8 (patch)
tree853a5fc46b0b9d7306f713a1f9d85d45b891b91a /Mk
parent6c395d15c9c0b4f1da2c14735bc1d1958815fef3 (diff)
downloadports-a5b77af446c8b5c20648e0fc166822558f24f2b8.tar.gz
ports-a5b77af446c8b5c20648e0fc166822558f24f2b8.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.ncurses.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.ncurses.mk b/Mk/bsd.ncurses.mk
index 87be5c03cf44..90a022290181 100644
--- a/Mk/bsd.ncurses.mk
+++ b/Mk/bsd.ncurses.mk
@@ -76,7 +76,7 @@ NCURSES_INSTALLED!= find "${PKG_DBDIR}/" -type f -name "+CONTENTS" -print0 | \
.if defined(NCURSES_INSTALLED) && ${NCURSES_INSTALLED} != ""
.if defined(WITH_PKGNG)
NCURSES_PORT= ${NCURSES_INSTALLED}
-NCURSES_SHLIBFILE!= ${PKG_INFO} -ql ${NCURSES_INSTALLED} | grep "^`pkg query "%p" ${NCURSES_INSTALLED}`/lib/libncurses.so."
+NCURSES_SHLIBFILE!= ${PKG_INFO} -ql ${NCURSES_INSTALLED} | grep -m 1 "^`pkg query "%p" ${NCURSES_INSTALLED}`/lib/libncurses.so."
.else
NCURSES_PORT!= grep "^@comment ORIGIN:" "${NCURSES_INSTALLED}" | ${CUT} -d : -f 2
NCURSES_SHLIBFILE!= grep -m 1 "^lib/libncurses.so." "${NCURSES_INSTALLED}"