diff options
Diffstat (limited to 'net/lmule/Makefile')
-rw-r--r-- | net/lmule/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/lmule/Makefile b/net/lmule/Makefile index 58d7a36ff100..9f718c3eda4f 100644 --- a/net/lmule/Makefile +++ b/net/lmule/Makefile @@ -52,8 +52,12 @@ post-install: .include <bsd.port.pre.mk> +.if exists(${WX_CONFIG}) # detect if wxgtk was linked against gtk1 or gtk2 DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags +.else +DECISION_GTK_1_OR_2= "" +.endif .if (${DECISION_GTK_1_OR_2:Mgtk2} != "") USE_GNOME+= gtk20 |