2013-02-24 20:56:18 +01:00
|
|
|
--- db3/configure
|
|
|
|
+++ db3/configure
|
|
|
|
@@ -10,9 +10,9 @@
|
2008-10-06 16:13:13 +02:00
|
|
|
# XXX edit CFLAGS= ... out of invocation args ???
|
|
|
|
ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's% --param=[^ ]*%%g' -e 's%--cache-file=.*$%%'`"
|
|
|
|
|
|
|
|
-CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure $ARGS \
|
|
|
|
+CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure \
|
2010-03-26 11:56:28 +01:00
|
|
|
--enable-shared --enable-static \
|
|
|
|
- --with-uniquename=_rpmdb --srcdir=$db_dist
|
2017-12-05 11:46:24 +01:00
|
|
|
+ --with-uniquename=_rpmdb --srcdir=$db_dist --with-pic $ARGS
|
2008-10-06 16:13:13 +02:00
|
|
|
|
|
|
|
mv Makefile Makefile.orig
|
|
|
|
cat Makefile.orig | sed -e '/^install[:-]/c\
|
2013-02-24 20:56:18 +01:00
|
|
|
--- installplatform
|
|
|
|
+++ installplatform
|
2013-07-12 17:55:33 +02:00
|
|
|
@@ -118,6 +118,11 @@
|
2012-08-28 15:31:44 +02:00
|
|
|
PPD="${DESTDIR}/${platformdir}/${ARCH}-${OS}"
|
|
|
|
[ -d $PPD ] || mkdir -p $PPD
|
2008-10-06 16:13:13 +02:00
|
|
|
|
2012-08-28 15:31:44 +02:00
|
|
|
+ if [ "$VENDOR" = suse ] ; then
|
|
|
|
+ # suse doesn't do colors
|
|
|
|
+ CANONCOLOR=0
|
|
|
|
+ fi
|
|
|
|
+
|
|
|
|
cat $PLATFORM \
|
|
|
|
| sed -e "s,@RPMRC_OPTFLAGS@,$RPMRC_OPTFLAGS," \
|
|
|
|
-e "s,@RPMCANONARCH@,$CANONARCH,g" \
|