Skip to content

Commit

Permalink
dvisvgm: remove a command causing build failure
Browse files Browse the repository at this point in the history
Remove `stat -c %y` (which just prints some meta information about
file modification time) as that doesn't seems to work on older versions
of OS X and has no negative consequences if missing.

Build of documentation was broken,
even though it should not even be triggered.

See: #283
  • Loading branch information
mojca committed Feb 9, 2017
1 parent b882abf commit aa6a8cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions graphics/dvisvgm/Portfile
Expand Up @@ -31,6 +31,8 @@ depends_lib port:freetype \

# TODO: the binary links against $prefix/lib/libgs.dylib, figure out the details

patchfiles patch-doc-Makefile.in.diff

if { ${configure.cxx_stdlib} ne "libc++" } {
configure.cxx_stdlib libc++
depends_lib-append port:libcxx
Expand Down
10 changes: 10 additions & 0 deletions graphics/dvisvgm/files/patch-doc-Makefile.in.diff
@@ -0,0 +1,10 @@
--- doc/Makefile.in.orig
+++ doc/Makefile.in
@@ -544,7 +544,6 @@ dvisvgm.epub: dvisvgm-article.xml
dvisvgm-man.xml: dvisvgm.txt
if [ `type -p asciidoc` ]; then \
asciidoc -a icons -a 'iconsdir=.' -a badges -a 'revnumber=@VERSION@' --unsafe -bdocbook -dmanpage -o $@ $<; \
- sed -i "s#\(</refmeta>\)#<refmiscinfo class='date'>$(shell stat -c %y $<)</refmiscinfo>\n\1#" $@; \
fi

dvisvgm-article.xml: dvisvgm.txt

0 comments on commit aa6a8cc

Please sign in to comment.