From f61e35a25d74dfd5872cc4b71e12bcc5e4ec948d Mon Sep 17 00:00:00 2001 From: lioux Date: Wed, 11 Jun 2003 22:23:53 +0000 Subject: Improve detection on whether wxgtk was built against gtk12 or gtk20 --- net/lmule/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net') diff --git a/net/lmule/Makefile b/net/lmule/Makefile index de7e73d74fda..915f0354e386 100644 --- a/net/lmule/Makefile +++ b/net/lmule/Makefile @@ -32,7 +32,7 @@ CONFIGURE_ARGS= --without-included-gettext \ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" -WX_CONFIG?= "${X11BASE}/bin/wx-config" +WX_CONFIG?= ${X11BASE}/bin/wx-config post-patch: # it works for FreeBSD as well @@ -53,12 +53,12 @@ post-install: .if exists(${WX_CONFIG}) # detect if wxgtk was linked against gtk1 or gtk2 -DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags +DECISION_GTK_1_OR_2!= ${WX_CONFIG} --static --libs .else DECISION_GTK_1_OR_2= "" .endif -.if (${DECISION_GTK_1_OR_2:Mgtk2} != "") +.if ${DECISION_GTK_1_OR_2:M*glib-2.0} != "" USE_GNOME+= gtk20 .else USE_GNOME+= gtk12 -- cgit