forked from mattn/mruby-onig-regexp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apply bsd-compatibility patch to Onigmo (k-takata/Onigmo#55)
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git Makefile.am Makefile.am | ||
index 07cf35f..1acf663 100644 | ||
--- Makefile.am | ||
+++ Makefile.am | ||
@@ -65,7 +65,7 @@ do_subst = sed \ | ||
-e 's,[@]includedir[@],$(includedir),g' | ||
|
||
oniguruma.pc: $(srcdir)/oniguruma.pc.in Makefile | ||
- $(do_subst) < $(<) > $(@) | ||
+ $(do_subst) < $(srcdir)/oniguruma.pc.in > $(@) | ||
|
||
pkgconfigdir = $(libdir)/pkgconfig | ||
pkgconfig_DATA = oniguruma.pc | ||
diff --git Makefile.in Makefile.in | ||
index 5849df9..d4e4c0e 100644 | ||
--- Makefile.in | ||
+++ Makefile.in | ||
@@ -1428,7 +1428,7 @@ uninstall-am: uninstall-binSCRIPTS uninstall-includeHEADERS \ | ||
onig-config: onig-config.in | ||
|
||
oniguruma.pc: $(srcdir)/oniguruma.pc.in Makefile | ||
- $(do_subst) < $(<) > $(@) | ||
+ $(do_subst) < $(srcdir)/oniguruma.pc.in > $(@) | ||
|
||
dll: | ||
$(CXX) -shared -Wl,--output-def,libonig.def -o libonig.dll *.o \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters