summaryrefslogtreecommitdiff
path: root/mk/plist/plist.mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-21 13:40:27 +0000
committerjlam <jlam>2006-07-21 13:40:27 +0000
commit5dc878279255e6216645644f33fcf307c6929bf3 (patch)
tree6f1170c156653d278bad91beb268353531631e89 /mk/plist/plist.mk
parentc86a25c231d1f8153bf76dc618cde8fa28531766 (diff)
downloadpkgsrc-5dc878279255e6216645644f33fcf307c6929bf3.tar.gz
Modify the shlib-type script so that it doesn't need to compile anything
-- instead, we just check "pkg_info", which should exist on all pkgsrc platforms. XXX Note that this may need to change when we later support other package XXX system flavors. Back out revision 1.79 of pkgtools/x11-links/Makefile which was only to work around needing a C compiler for shlib-type to work.
Diffstat (limited to 'mk/plist/plist.mk')
-rw-r--r--mk/plist/plist.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/mk/plist/plist.mk b/mk/plist/plist.mk
index 131e57a6d5b..3b0e3101140 100644
--- a/mk/plist/plist.mk
+++ b/mk/plist/plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: plist.mk,v 1.14 2006/07/15 23:58:52 rillig Exp $
+# $NetBSD: plist.mk,v 1.15 2006/07/21 13:40:27 jlam Exp $
#
# This Makefile fragment handles the creation of PLISTs for use by
# pkg_create(8).
@@ -163,9 +163,8 @@ _SHLIB_AWKFILE.none= ${.CURDIR}/../../mk/plist/shlib-none.awk
# SHLIB_TYPE is the type of shared library supported by the platform.
SHLIB_TYPE= ${_SHLIB_TYPE_cmd:sh}
_SHLIB_TYPE_cmd= \
- ${SETENV} CC=${CC:Q} ECHO=${TOOLS_ECHO:Q} \
- FILE_CMD=${TOOLS_FILE_CMD:Q} MKDIR=${TOOLS_MKDIR:Q} \
- RM=${TOOLS_RM:Q} TEST=${TOOLS_TEST:Q} \
+ ${SETENV} ECHO=${TOOLS_ECHO:Q} FILE_CMD=${TOOLS_FILE_CMD:Q} \
+ TEST=${TOOLS_TEST:Q} PKG_INFO_CMD=${PKG_INFO_CMD:Q} \
${SH} ${.CURDIR}/../../mk/plist/shlib-type ${_OPSYS_SHLIB_TYPE:Q}
######################################################################