Martin wrote:
after starting make (first time) on FreeBSD, you get this error during
the build process:
[...]
Generating radeon.man.new...
sed: 1: "s/^[ ]\{1,\}"\\t\\t\(. ...": RE error: regexec()
failed to match *** Error code 1
Stop in /usr/home/cinek/xf86-video-radeonhd/src.
*** Error code 1
[...]
Perhaps sed is a bit different on GNU-based and BSD-based systems.
If FreeBSD is not using minised but something else which I did not
find, the following might help.
From 495e368574e27b8f81f5221cb20c2359bfe58fcc Mon Sep 17 00:00:00 2001
From: Hans Ulrich Niedermann
Date: Wed, 30 Jul 2008 12:18:20 +0200
Subject: [PATCH] Improve sed expression compatibility
This still works with GNU and busybox sed, and should be closer
to some ancient sed manpages.
minised still does not work, though.
---
src/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index abdcdca..1dad1a0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -126,7 +126,7 @@ radeonhd.man.new: rhd_id.c $(SRCMAN)
-e '/^[ ]\{1,\}xf86Msg(X_NONE,/d' \
-e '/^[ ]\{1,\}\/\*/d' \
-e 's/^[ ]\{1,\}"\\t\([A-Z0-9]\{1,\}\) \{1,\}: \(.*;\)\\n"$$/.TP 8\n.B \1\n\2/' \
- -e 's/^[ ]\{1,\}"\\t\\t\(.*\)\.\\n"\();\)\{,1\}$$/\1/' \
+ -e 's/^[ ]\{1,\}"\\t\\t\(.*\)\.\\n"\();\)\{0,1\}$$/\1/' \
-e 's/^[ ]\{1,\}"\\t\([A-Z0-9]\{1,\}\) \{1,\}: \(.*\)\.\\n"\();\)\{,1\}$$/.TP 8\n.B \1\n\2/' \
"$(srcdir)/rhd_id.c"; \
$(SED) -n '/^\.\\" END_DEVICE_LIST marker - do not delete/,$$p' "$(SRCMAN)" \
--
1.5.6.4