diff options
-rw-r--r-- | Mk/bsd.gnome.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 2c4de4b70..ee9137609 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -784,12 +784,19 @@ USE_CSTD= gnu89 # exist in ${_USE_GNOME} and set variables accordingly .ifdef _USE_GNOME -. if ${USE_GNOME:Mltasneededhack}!= "" || (${USE_GNOME:Mltverhack*}!= "" && \ - defined(USE_AUTOTOOLS) && ${USE_AUTOTOOLS:Mlibtool*}) +. if ${USE_GNOME:Mltasneededhack}!= "" GNOME_PRE_PATCH+= ${lthacks_PRE_PATCH} CONFIGURE_ENV+= ${lthacks_CONFIGURE_ENV} . endif +# this is splitted out from the above entry because fmake is trows a fit otherwise +. if defined(USE_AUTOTOOLS) && ${USE_AUTOTOOLS:Mlibtool*} +. if ${USE_GNOME:Mltverhack*}!= "" +GNOME_PRE_PATCH+= ${lthacks_PRE_PATCH} +CONFIGURE_ENV+= ${lthacks_CONFIGURE_ENV} +. endif +. endif + . for component in ${_USE_GNOME:O:u} . if defined(${component}_PATCH_DEPENDS) PATCH_DEPENDS+= ${${component}_PATCH_DEPENDS} |