Browse Source

requires GL and/or dl on some platforms

master
Michael van Elst 23 years ago committed by Ralf S. Engelschall
parent
commit
cb5cbfb4f1
  1. 15
      lyx/lyx.spec

15
lyx/lyx.spec

@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL]
Group: Print
License: GPL
Version: %{V_lyx}
Release: 20030707
Release: 20030710
# package options
%option with_xforms no
@ -106,10 +106,23 @@ AutoReqProv: no
%else
echo "qt_cv_libname=qt" >config.cache
EXTRALIBS="-lqt -lXext"
# FIXME mlelstv
# -- our Solaris boxes do not support OpenGL, so
# qt doesn't pick up OpenGL support.
# Unfortunately there is no information about
# this dependency in the qt package and things
# will break when freebsd/linux do not have GL
# installed, or when solaris gets GL installed
case "%{l_target}" in
*-freebsd*)
EXTRALIBS="$EXTRALIBS -lGL"
;;
*-linux*)
EXTRALIBS="$EXTRALIBS -lGL -dl"
;;
*-solaris*)
EXTRALIBS="$EXTRALIBS -dl"
;;
esac
%endif
CC="%{l_cc}" \

Loading…
Cancel
Save