pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Use -S instead of '-s ""' to check for p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/30c7c3ddfbc5
branches: trunk
changeset: 467034:30c7c3ddfbc5
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Jan 25 18:44:31 2004 +0000
description:
Use -S instead of '-s ""' to check for package matches with a null suffix.
This option is available as of pkg_install>=20030918 which is required in
pkgsrc. Noted by Klaus Heinz.
diffstat:
mk/buildlink3/bsd.buildlink3.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 485a29e09c81 -r 30c7c3ddfbc5 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk Sun Jan 25 18:42:53 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk Sun Jan 25 18:44:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.58 2004/01/25 16:46:21 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.59 2004/01/25 18:44:31 jlam Exp $
#
# An example package buildlink3.mk file:
#
@@ -222,7 +222,7 @@
_BLNK_PKG_DBDIR.${_pkg_}!= \
dir=""; \
if [ -d ${_PKG_DBDIR} ]; then \
- dir=`cd ${_PKG_DBDIR}; ${PKG_ADMIN} -s "" lsbest "${_depend_}" || ${TRUE}`; \
+ dir=`cd ${_PKG_DBDIR}; ${PKG_ADMIN} -S lsbest "${_depend_}" || ${TRUE}`; \
fi; \
case "$$dir" in \
"") dir="not_found" ;; \
Home |
Main Index |
Thread Index |
Old Index