summaryrefslogtreecommitdiff
path: root/print/musixtex
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2002-12-02 16:16:48 +0000
committerAlexander Langer <alex@FreeBSD.org>2002-12-02 16:16:48 +0000
commitbc90d7e49dc96913d38b1c0052fd2396bccc3893 (patch)
tree4711f163b3765de8b63ed241dfa3ff04dcdd5ef0 /print/musixtex
parentFix build with compile error on -current(conflicting types for `sys_nerr') (diff)
Fix last commit in case of absence of texhash.
Submitted by: kris Pointy hat to: myself, the dependency guru wannabe (last commit was tested with teTex installed)
Notes
Notes: svn path=/head/; revision=71322
Diffstat (limited to 'print/musixtex')
-rw-r--r--print/musixtex/Makefile2
-rw-r--r--print/musixtex/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/print/musixtex/Makefile b/print/musixtex/Makefile
index 30a633de9aef..2d9a86ca54eb 100644
--- a/print/musixtex/Makefile
+++ b/print/musixtex/Makefile
@@ -22,6 +22,6 @@ pre-install:
${MKDIR} ${PREFIX}/share/texmf/documentation
post-install:
- @${LOCALBASE}/bin/texhash
+ @${LOCALBASE}/bin/texhash || ${TRUE}
.include <bsd.port.mk>
diff --git a/print/musixtex/pkg-plist b/print/musixtex/pkg-plist
index 6b482bafc5f7..c4b595f21926 100644
--- a/print/musixtex/pkg-plist
+++ b/print/musixtex/pkg-plist
@@ -222,7 +222,7 @@ share/texmf/tex/musixsty.tex
share/texmf/tex/musixtex.sty
share/texmf/tex/musixtex.tex
share/texmf/tex/musixtri.tex
-@exec %D/bin/texhash
+@exec %D/bin/texhash || true
@dirrm share/texmf/documentation/musixtex.examples
@unexec rmdir %D/share/texmf/documentation 2>/dev/null || true
-@unexec %D/bin/texhash
+@unexec %D/bin/texhash || true