diff --git a/lyx/lyx.spec b/lyx/lyx.spec index 051d89d65c..907a1a7f23 100644 --- a/lyx/lyx.spec +++ b/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}" \