summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2007-07-18 18:46:12 +0000
committerjlam <jlam>2007-07-18 18:46:12 +0000
commit768250c0073033033378f177da62321043b8fcbc (patch)
tree42282bd201d412b15bd76a124098adbafb54ffda
parent70e2c6fe22291cdf37084b48dca9edf15b2e88e5 (diff)
downloadpkgsrc-768250c0073033033378f177da62321043b8fcbc.tar.gz
PKG_METADATADIR is the *second* argument.
-rw-r--r--mk/pkginstall/shlibs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkginstall/shlibs b/mk/pkginstall/shlibs
index da42fcb31b4..bc6edac1981 100644
--- a/mk/pkginstall/shlibs
+++ b/mk/pkginstall/shlibs
@@ -1,4 +1,4 @@
-# $NetBSD: shlibs,v 1.2 2007/07/18 18:43:05 jlam Exp $
+# $NetBSD: shlibs,v 1.3 2007/07/18 18:46:12 jlam Exp $
#
# Generate a +SHLIBS script that updates the system run-time library
# search paths database for the package.
@@ -24,7 +24,7 @@ SELF=$0
ACTION=$1
CURDIR=`${PWD_CMD}`
-PKG_METADATA_DIR="${1-${CURDIR}}"
+PKG_METADATA_DIR="${2-${CURDIR}}"
: ${PKGNAME=${PKG_METADATA_DIR##*/}}
: ${PKG_PREFIX=@PREFIX@}