Let it build
OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=70
This commit is contained in:
parent
ed4f3c9bb0
commit
10d36783f1
@ -148,7 +148,7 @@ PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/lib/pkgconfig:${PWD}
|
||||
export PKG_CONFIG_PATH
|
||||
%endif
|
||||
CC=gcc
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99"
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99 -DUSE_XPM -DUSE_SPLASH"
|
||||
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||
CFLAGS="$CFLAGS -DMAXNUMPTS=50000"
|
||||
CFLAGS="$CFLAGS -DBSDLPR"
|
||||
@ -158,14 +158,16 @@ chmod 755 configure
|
||||
%configure \
|
||||
--docdir=%{_defaultdocdir}/%{name} \
|
||||
--enable-cache-size=512 \
|
||||
--enable-xpm-splash \
|
||||
--enable-tablet \
|
||||
--with-x \
|
||||
--with-xaw3d1_5e \
|
||||
--with-xaw3d
|
||||
touch src/splash.xbm
|
||||
touch src/splash.xpm
|
||||
make %{?_smp_mflags} CCOPTIONS="$CFLAGS"
|
||||
|
||||
%install
|
||||
find -name '*.bak' -exec rm -vf '{}' \+
|
||||
make DESTDIR=%{buildroot} install
|
||||
mv %{buildroot}%{_mandir}/man1/xfig.1 %{buildroot}%{_mandir}/man1/xfig.1x
|
||||
gzip -9 %{buildroot}%{_mandir}/man1/xfig.1x
|
||||
|
Loading…
Reference in New Issue
Block a user