[Lunar-commits] <moonbase> openjade: Adjusting the BUILD so its msggen.pl can find the
stumbles
stumbles at lunar-linux.org
Wed Jun 27 14:31:39 CEST 2012
commit 95c202331bd3e0c9b4c531610e97963feac5e7a1
Author: stumbles <stumbles at lunar-linux.org>
Date: Wed Jun 27 08:31:39 2012 -0400
openjade: Adjusting the BUILD so its msggen.pl can find the
corrent subroutine.
---
doc-tools/openjade/BUILD | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
diff --git a/doc-tools/openjade/BUILD b/doc-tools/openjade/BUILD
index 2d8444a..a5ddacc 100644
--- a/doc-tools/openjade/BUILD
+++ b/doc-tools/openjade/BUILD
@@ -1,4 +1,8 @@
(
+# See http://web.archiveorange.com/archive/v/a7O9XzsYMZ7Ivf8H8oHV
+# Fixes a make failure on an Undefined subroutine &main::Getopts.
+ sed -i "7i use Getopt::Std;" msggen.pl &&
+ sedit "s:\&Getopts:\&getopts:" msggen.pl &&
# Fixes segfault when compiling docbook-utils
patch_it $SOURCE2 1 &&
@@ -12,24 +16,11 @@
CATALOGDIR="/usr/share/sgml/$MODULE-$VERSION" &&
PTEXTD="$CATALOGDIR/pubtext" &&
- ./configure --build=$BUILD \
- --prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --datadir=/usr/share \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --libdir=/usr/lib \
- --includedir=/usr/include \
- --enable-http \
- --disable-static \
- --enable-default-catalog=/etc/sgml/catalog \
- --enable-default-search-path=/usr/share/sgml &&
+ OPTS+=" --enable-http --disable-static --enable-default-catalog=/etc/sgml/catalog \
+ --enable-default-search-path=/usr/share/sgml" &&
+
+ default_build &&
- make all &&
- prepare_install &&
- make install &&
if ! [ -d "$CATALOGDIR" ]; then
mkdir -p $CATALOGDIR
fi &&
@@ -41,4 +32,5 @@
cp -r unicode $CATALOGDIR &&
cp -r develdoc $CATALOGDIR &&
ln -sf `which openjade` /usr/bin/jade
+
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list