|
|
@@ -37,7 +37,7 @@ Class: EVAL
|
|
|
Group: Editor
|
|
|
License: GPL
|
|
|
Version: %{V_xemacs}
|
|
|
-Release: 20060510
|
|
|
+Release: 20060613
|
|
|
|
|
|
# package options
|
|
|
%option with_gtk yes
|
|
|
@@ -94,10 +94,14 @@ AutoReqProv: no
|
|
|
[ ".$PACKAGE_PATH" != . ] && PACKAGE_PATH="${PACKAGE_PATH}::"
|
|
|
PACKAGE_PATH="${PACKAGE_PATH}%{l_prefix}/lib/xemacs/${i}-packages"
|
|
|
done
|
|
|
- CC="%{l_cc}" \
|
|
|
- CFLAGS="%{l_cflags -O}" \
|
|
|
- CPPFLAGS="%{l_cppflags tiff glib}" \
|
|
|
- LDFLAGS="%{l_ldflags}" \
|
|
|
+ export CC="%{l_cc}"
|
|
|
+ export CFLAGS="%{l_cflags -O}"
|
|
|
+ export CPPFLAGS="%{l_cppflags tiff glib}"
|
|
|
+ export LDFLAGS="%{l_ldflags}"
|
|
|
+ export LIBS="-ldb"
|
|
|
+ case "%{l_platform -t}" in
|
|
|
+ *-sunos* ) LIBS="$LIBS -lrt" ;;
|
|
|
+ esac
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
%if "%{with_gtk}" == "yes"
|