Blame compiler_flags.patch
|
Bernhard M. Wiedemann |
4f6094 |
diff -urEbw abcm2ps-8.14.5/configure abcm2ps-8.14.5.new/configure
|
|
Bernhard M. Wiedemann |
4f6094 |
--- abcm2ps-8.14.5/configure 2019-07-17 09:44:10.000000000 +0200
|
|
Bernhard M. Wiedemann |
4f6094 |
+++ abcm2ps-8.14.5.new/configure 2019-07-18 15:01:30.465812774 +0200
|
|
Bernhard M. Wiedemann |
4f6094 |
@@ -5,7 +5,7 @@
|
|
Bernhard M. Wiedemann |
4f6094 |
VDATE=2019-07-17
|
|
Bernhard M. Wiedemann |
4f6094 |
|
|
Bernhard M. Wiedemann |
4f6094 |
CC=gcc
|
|
Bernhard M. Wiedemann |
4f6094 |
-CFLAGS="-g -O2 -Wall -pipe"
|
|
Bernhard M. Wiedemann |
4f6094 |
+CFLAGS="$RPM_OPT_FLAGS -pipe"
|
|
Bernhard M. Wiedemann |
4f6094 |
|
|
Bernhard M. Wiedemann |
4f6094 |
srcdir=.
|
|
Bernhard M. Wiedemann |
4f6094 |
prefix=/usr/local
|
|
Bernhard M. Wiedemann |
4f6094 |
@@ -60,8 +60,8 @@
|
|
Bernhard M. Wiedemann |
4f6094 |
if which pkg-config > /dev/null ; then
|
|
Bernhard M. Wiedemann |
4f6094 |
if pkg-config --exists freetype2 ; then
|
|
Bernhard M. Wiedemann |
4f6094 |
if pkg-config --exists pangocairo ; then
|
|
Bernhard M. Wiedemann |
4f6094 |
- CPPFLAGS="$CPPFLAGS -DHAVE_PANGO=1 `pkg-config pango cairo freetype2 --cflags`"
|
|
Bernhard M. Wiedemann |
4f6094 |
- LDLIBS="$LDLIBS `pkg-config pangocairo pangoft2 freetype2 --libs`"
|
|
Bernhard M. Wiedemann |
4f6094 |
+ CPPFLAGS="$CPPFLAGS -DHAVE_PANGO=1 `pkg-config pango cairo gobject-2.0 freetype2 --cflags`"
|
|
Bernhard M. Wiedemann |
4f6094 |
+ LDLIBS="$LDLIBS `pkg-config pangocairo pangoft2 gobject-2.0 freetype2 --libs`"
|
|
Bernhard M. Wiedemann |
4f6094 |
else
|
|
Bernhard M. Wiedemann |
4f6094 |
echo "pangocairo not found - no pango support"
|
|
Bernhard M. Wiedemann |
4f6094 |
fi
|