diff options
author | jlam <jlam> | 2001-05-22 16:46:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-22 16:46:37 +0000 |
commit | 85978e2179989a97a2ccbf82b7e195a66b8d5a78 (patch) | |
tree | 4cdf70e16a5d5f770fd14d3307f92f53b753dc30 /devel/readline | |
parent | 82ebd72be2da96f3f58907a6d6466c3cef9cbbe4 (diff) | |
download | pkgsrc-85978e2179989a97a2ccbf82b7e195a66b8d5a78.tar.gz |
Tell the user when we're linking the readline files.
Diffstat (limited to 'devel/readline')
-rw-r--r-- | devel/readline/Makefile.readline | 20 |
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 |