mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
sysutils/dar: Use alternate sed argument to unbreak DragonFly
The new version of dar uses the gnu sed -r switch which is not recognized by DragonFly's BSD sed. Switch this to the equivalent -E switch so both FreeBSD and DragonFly are happy. Approved by: general blanket
This commit is contained in:
parent
1c56a071cb
commit
70bd6b07f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358676
1 changed files with 11 additions and 0 deletions
11
sysutils/dar/files/patch-src_libdar_Makefile.in
Normal file
11
sysutils/dar/files/patch-src_libdar_Makefile.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/libdar/Makefile.in.orig 2014-06-15 16:44:07.000000000 +0000
|
||||
+++ src/libdar/Makefile.in
|
||||
@@ -337,7 +337,7 @@ AM_LDFLAGS = @LTLIBINTL@ $(LD_PROF)
|
||||
lib_LTLIBRARIES = $(MYLIB)
|
||||
LIBDAR_MAJOR = `grep LIBDAR_COMPILE_TIME_MAJOR libdar.hpp | cut -f 2 -d "=" | cut -f 1 -d ';' | sed -e 's% %%g'`
|
||||
LIBDAR_MEDIUM = `grep LIBDAR_COMPILE_TIME_MEDIUM libdar.hpp | cut -f 2 -d "=" | cut -f 1 -d ';' | sed -e 's% %%g'`
|
||||
-LIBDAR_MEDIUM_000 = `grep LIBDAR_COMPILE_TIME_MEDIUM libdar.hpp | cut -f 2 -d "=" | cut -f 1 -d ';' | sed -r -e 's% %%g' -e 's%([^0-9]|^)([0-9]{1})([^0-9]|$$)%0\2%' -e 's%([^0-9]|^)([0-9]{2})([^0-9]|$$)%0\2%'`
|
||||
+LIBDAR_MEDIUM_000 = `grep LIBDAR_COMPILE_TIME_MEDIUM libdar.hpp | cut -f 2 -d "=" | cut -f 1 -d ';' | sed -E -e 's% %%g' -e 's%([^0-9]|^)([0-9]{1})([^0-9]|$$)%0\2%' -e 's%([^0-9]|^)([0-9]{2})([^0-9]|$$)%0\2%'`
|
||||
LIBDAR_MINOR = `grep LIBDAR_COMPILE_TIME_MINOR libdar.hpp | cut -f 2 -d "=" | cut -f 1 -d ';' | sed -e 's% %%g'`
|
||||
LIBDAR_LIBTOOL_CURRENT = $(LIBDAR_MAJOR)$(LIBDAR_MEDIUM_000)
|
||||
LIBDAR_LIBTOOL_REVISION = $(LIBDAR_MINOR)
|
Loading…
Add table
Reference in a new issue