mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 22:13:47 -04:00
19 lines
816 B
Plaintext
19 lines
816 B
Plaintext
$NetBSD: patch-bootstrap,v 1.1 2014/03/14 20:49:56 gdt Exp $
|
|
|
|
* fix sed regular expressions to be POSIX BREs (change '\s' to
|
|
'[[:space:]]', '+' to '\{1,\}') (not yet reported upstream)
|
|
* quote $SUFFIX and $REVISION variable expansions (not yet reported
|
|
upstream)
|
|
|
|
--- bootstrap.orig 2012-12-04 14:43:40.000000000 +0000
|
|
+++ bootstrap
|
|
@@ -9,7 +9,7 @@ rm -rf *~ *.cache *.m4 config.guess conf
|
|
|
|
if test ! -z "$1"; then
|
|
cp configure.ac configure.ac.orig
|
|
- sed 's/^define(\[PACKAGE_SUFFIX\],\s*\[\([-~]*[0-9a-zA-Z]*\)\])$/define(\[PACKAGE_SUFFIX\], \['$1'\])/g' configure.ac.orig > configure.ac
|
|
+ sed 's/^define(\[PACKAGE_SUFFIX\],[[:space:]]*\[\([-~]*[0-9a-zA-Z]*\)\])$/define(\[PACKAGE_SUFFIX\], \['"$SUFFIX"'\])/g' configure.ac.orig > configure.ac
|
|
fi
|
|
|
|
autoreconf --verbose --install --force
|