--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -10,0 +10,1 @@ +IUSE="opengl" @@ -15,2 +16,3 @@ -DEPEND=">=sys-apps/sed-4 - || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )" --- +DEPEND="opengl? ( virtual/opengl ) + >=sys-apps/sed-4 + || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )" @@ -28,0 +30,2 @@ + local myflags= + @@ -32,0 +36,4 @@ + if [ "`use opengl`" ] ; then + myflags="${myflags} --enable-opengl" + fi + @@ -33,0 +41,1 @@ + ./configure $myflags