use sed -i

This commit is contained in:
jasper 2015-07-17 21:51:02 +00:00
parent 4ad368248b
commit f3543a7c16
2 changed files with 0 additions and 25 deletions

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-Makefile_am,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
--- Makefile.am.orig Tue Jan 21 16:36:05 2014
+++ Makefile.am Tue Jan 21 16:36:21 2014
@@ -25,8 +25,8 @@ install-data-local:
if MACOS
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
else
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
+ perl -pi -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
endif
dist-hook:
- git log --format='%H' -1 > $(distdir)/latest_commit
\ No newline at end of file
+ git log --format='%H' -1 > $(distdir)/latest_commit

View File

@ -1,10 +0,0 @@
$OpenBSD: patch-lib_Makefile_am,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
--- lib/Makefile.am.orig Wed Sep 24 15:55:53 2014
+++ lib/Makefile.am Wed Sep 24 15:55:53 2014
@@ -90,5 +90,5 @@ install-data-local:
if MACOS
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
else
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
+ perl -pi -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
endif