Michael Schröder
327c7f43c3
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=277
29 lines
879 B
Diff
29 lines
879 B
Diff
--- db3/configure
|
|
+++ db3/configure
|
|
@@ -10,9 +10,9 @@
|
|
# 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 \
|
|
--enable-shared --enable-static \
|
|
- --with-uniquename=_rpmdb --srcdir=$db_dist
|
|
+ --with-uniquename=_rpmdb --srcdir=$db_dist $ARGS
|
|
|
|
mv Makefile Makefile.orig
|
|
cat Makefile.orig | sed -e '/^install[:-]/c\
|
|
--- installplatform
|
|
+++ installplatform
|
|
@@ -118,6 +118,11 @@
|
|
PPD="${DESTDIR}/${platformdir}/${ARCH}-${OS}"
|
|
[ -d $PPD ] || mkdir -p $PPD
|
|
|
|
+ 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" \
|