Files
macports-ports/science/ncarg/files/patch-ni-src-ncl-yMakefile.diff
2025-03-10 17:04:46 -04:00

23 lines
705 B
Diff

Replace '+' with '|' in sed. With '+' it complains about wrong flag
--- ni/src/ncl/yMakefile.orig 2019-02-28 00:44:39
+++ ni/src/ncl/yMakefile 2025-02-19 14:06:24
@@ -655,12 +655,12 @@
MakeNcl: MakeNcl.csh Makefile
@sed \
- -e 's+SED_CC_LD+$(CC_LD)+' \
- -e 's+SED_CC_OPT+$(CCOPTIONS)+' \
- -e 's+SED_LDLIBS+$(LDLIBS)+' \
- -e 's+SED_EXTRA_LDLIBS+$(EXTRA_LDLIBS)+' \
- -e 's+SED_LIBPATH+$(LIBPATH)+' \
- -e 's+SED_INCPATH+$(INCPATH)+' \
+ -e 's|SED_CC_LD|$(CC_LD)|' \
+ -e 's|SED_CC_OPT|$(CCOPTIONS)|' \
+ -e 's|SED_LDLIBS|$(LDLIBS)|' \
+ -e 's|SED_EXTRA_LDLIBS|$(EXTRA_LDLIBS)|' \
+ -e 's|SED_LIBPATH|$(LIBPATH)|' \
+ -e 's|SED_INCPATH|$(INCPATH)|' \
<MakeNcl.csh > MakeNcl
#if defined(Darwin)