summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-27 22:35:47 +0000
committertv <tv@pkgsrc.org>2004-04-27 22:35:47 +0000
commit19a94159acee78e9753f65e5fa897bb5e7097d84 (patch)
tree13fd60b71bb277b865ab6b7eebfef481cc762b67 /mk/bsd.pkg.mk
parent0cab81ae137517ee4cd4ea55acc6d168db32d018 (diff)
downloadpkgsrc-19a94159acee78e9753f65e5fa897bb5e7097d84.tar.gz
Add a new install macro INSTALL_LIB for use when installing libraries
(mainly intended for shlib use, but for homeful use on all libraries so that currently static libs can be "provisioned" for future shlib use).
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index d8dfe4ed41a..9736baf7ad5 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1453 2004/04/27 19:23:34 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1454 2004/04/27 22:35:47 tv Exp $
#
# This file is in the public domain.
#
@@ -580,6 +580,8 @@ INSTALL_PROGRAM?= \
.endif
INSTALL_SCRIPT?= \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+INSTALL_LIB?= \
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
INSTALL_DATA?= \
${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE}
INSTALL_MAN?= \
@@ -588,6 +590,8 @@ INSTALL_PROGRAM_DIR?= \
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${PKGDIRMODE}
INSTALL_SCRIPT_DIR?= \
${INSTALL_PROGRAM_DIR}
+INSTALL_LIB_DIR?= \
+ ${INSTALL_PROGRAM_DIR}
INSTALL_DATA_DIR?= \
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${PKGDIRMODE}
INSTALL_MAN_DIR?= \
@@ -595,11 +599,13 @@ INSTALL_MAN_DIR?= \
INSTALL_MACROS= BSD_INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
BSD_INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ BSD_INSTALL_LIB="${INSTALL_LIB}" \
BSD_INSTALL_DATA="${INSTALL_DATA}" \
BSD_INSTALL_MAN="${INSTALL_MAN}" \
BSD_INSTALL="${INSTALL}" \
BSD_INSTALL_PROGRAM_DIR="${INSTALL_PROGRAM_DIR}" \
BSD_INSTALL_SCRIPT_DIR="${INSTALL_SCRIPT_DIR}" \
+ BSD_INSTALL_LIB_DIR="${INSTALL_LIB_DIR}" \
BSD_INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" \
BSD_INSTALL_MAN_DIR="${INSTALL_MAN_DIR}"
MAKE_ENV+= ${INSTALL_MACROS}