summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-22 16:46:37 +0000
committerjlam <jlam@pkgsrc.org>2001-05-22 16:46:37 +0000
commitd97bb82a1d160edf1d45f99d63b31421a009b084 (patch)
tree4cdf70e16a5d5f770fd14d3307f92f53b753dc30 /devel
parentd59eed58aacb38436b5ee910b9d6374becca3769 (diff)
downloadpkgsrc-d97bb82a1d160edf1d45f99d63b31421a009b084.tar.gz
Tell the user when we're linking the readline files.
Diffstat (limited to 'devel')
-rw-r--r--devel/readline/Makefile.readline20
1 files changed, 11 insertions, 9 deletions
diff --git a/devel/readline/Makefile.readline b/devel/readline/Makefile.readline
index 5865048c298..fd0a9952187 100644
--- a/devel/readline/Makefile.readline
+++ b/devel/readline/Makefile.readline
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.readline,v 1.3 2001/05/22 05:57:04 jlam Exp $
+# $NetBSD: Makefile.readline,v 1.4 2001/05/22 16:46:37 jlam Exp $
#
# This Makefile fragment is included by packages that use readline().
#
@@ -64,27 +64,29 @@ WRKLIBDIR?= ${WRKDIR}/lib
# which should be searched first by the C preprocessor.
#
link-readline-headers:
- ${MKDIR} -p ${WRKINCDIR}/readline
- ${RM} -f ${WRKINCDIR}/readline/*
+ @${ECHO} "Linking readline headers into ${WRKINCDIR}."
+ @${MKDIR} -p ${WRKINCDIR}/readline
+ @${RM} -f ${WRKINCDIR}/readline/*
.if defined(READLINE_INCDIR)
- for inc in ${READLINE_INCDIR}/*; do \
+ @for inc in ${READLINE_INCDIR}/*; do \
${LN} -sf $${inc} ${WRKINCDIR}/readline; \
done
.else
- ${LN} -sf ${READLINE_H} ${WRKINCDIR}/readline
- ${LN} -sf ${HISTORY_H} ${WRKINCDIR}/readline
+ @${LN} -sf ${READLINE_H} ${WRKINCDIR}/readline
+ @${LN} -sf ${HISTORY_H} ${WRKINCDIR}/readline
.endif
# This target links the readline and history libraries into ${WRKLIBDIR},
# which should be searched first by the linker.
#
link-readline-libs:
- ${MKDIR} -p ${WRKLIBDIR}
- for lib in ${LIBREADLINE}; do \
+ @${ECHO} "Linking readline libraries into ${WRKLIBDIR}."
+ @${MKDIR} -p ${WRKLIBDIR}
+ @for lib in ${LIBREADLINE}; do \
dest=`${BASENAME} $${lib} | ${SED} "s|libedit|libreadline|"`; \
${LN} -sf $${lib} ${WRKLIBDIR}/$${dest}; \
done
- for lib in ${LIBHISTORY}; do \
+ @for lib in ${LIBHISTORY}; do \
dest=`${BASENAME} $${lib} | ${SED} "s|libedit|libhistory|"`; \
${LN} -sf $${lib} ${WRKLIBDIR}/$${dest}; \
done