- sed is broken on 11.4 so install and use gsed instead.

This commit is contained in:
Diane Bruce 2020-11-22 01:49:49 +00:00
parent 93bf914735
commit 91dc327653
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556026
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= fldigi
PORTVERSION= 4.1.16
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= comms hamradio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
@ -13,7 +13,8 @@ LICENSE= GPLv3
BUILD_DEPENDS= asciidoc:textproc/asciidoc\
docbook-xsl>=1.0:textproc/docbook-xsl\
xsltproc:textproc/libxslt
xsltproc:textproc/libxslt \
gsed:textproc/gsed
LIB_DEPENDS= libboost_system.so:devel/boost-libs\
libpng.so:graphics/png \
libfltk.so:x11-toolkits/fltk \

View File

@ -5,7 +5,7 @@
$(builddir)/dialogs/guide.cxx: $(builddir)/../doc/guide.html
@mkdir -p $(builddir)/dialogs
- $(call silent,GUIDE ,$@)sed 's/\\/\\\\/g; s/"/\\"/g; s/$$/\\n\\/g; 1 s/.*/const char* szBeginner = "&/; $$ s/.*/&n";/' $< > $@
+ $(call silent,GUIDE ,$@)sed 's/\r//g; s/\\/\\\\/g; s/"/\\"/g; s/$$/\\n\\/g; 1 s/.*/const char* szBeginner = "&/; $$ s/.*/&n";/' $< > $@
+ $(call silent,GUIDE ,$@)gsed 's/\r//g; s/\\/\\\\/g; s/"/\\"/g; s/$$/\\n\\/g; 1 s/.*/const char* szBeginner = "&/; $$ s/.*/&n";/' $< > $@
dialogs/htmlstrings.cxx: $(builddir)/dialogs/guide.cxx
distclean-local: