summaryrefslogtreecommitdiff
path: root/net/lmule
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2003-04-22 22:07:02 +0000
committerBill Fenner <fenner@FreeBSD.org>2003-04-22 22:07:02 +0000
commit50fb7927fe5a98483c747c0d86e800a30c319b42 (patch)
tree0d27ced0eab9c346a122fb38bb7006927576040c /net/lmule
parentAdd a port for py-iconvcodec 1.0, a universal unicode codec for python. (diff)
Don't try to run wxconfig if it doesn't exist; simply
depend on gtk12 in that case.
Diffstat (limited to 'net/lmule')
-rw-r--r--net/lmule/Makefile4
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