Post-patch removed, since there is no mkLinks script any more
This commit is contained in:
parent
53d8551f6d
commit
71ef3c039e
1 changed files with 1 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.42 2004/11/26 10:30:01 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.43 2004/11/29 14:55:32 adam Exp $
|
||||
|
||||
DISTNAME= tcl8.4.8-src
|
||||
PKGNAME= tcl-8.4.8
|
||||
|
@ -46,21 +46,6 @@ CONFIGURE_ENV+= TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl"
|
|||
.endif
|
||||
.endif
|
||||
|
||||
# Modify mkLinks script to remove the short-filename manpage if it was
|
||||
# linked to a longer filename.
|
||||
post-patch:
|
||||
@cd ${WRKSRC}; \
|
||||
${MV} -f mkLinks mkLinks.tmp; \
|
||||
${GREP} -v "^exit 0" mkLinks.tmp > mkLinks; \
|
||||
${CAT} mkLinks.tmp \
|
||||
| ${AWK} '/^ *ln / { print $$3 }' \
|
||||
| ${SORT} -u \
|
||||
| ${GREP} -v ".*\.n" \
|
||||
| ${SED} -e "s,^,${RM} -f ," \
|
||||
>> mkLinks; \
|
||||
${RM} -f mkLinks.tmp; \
|
||||
${CHMOD} +x mkLinks;
|
||||
|
||||
post-install:
|
||||
cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
|
||||
${RM} -rf ${WRKDIR}/man
|
||||
|
|
Loading…
Reference in a new issue