diff options
author | lioux <lioux@FreeBSD.org> | 2003-06-12 06:23:53 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-06-12 06:23:53 +0800 |
commit | f61e35a25d74dfd5872cc4b71e12bcc5e4ec948d (patch) | |
tree | b8d935750ad4c1c410948cc00900a5be737f4202 /net | |
parent | 82b825754a99d9e817c7fad31ceb442bf358c920 (diff) | |
download | freebsd-ports-gnome-f61e35a25d74dfd5872cc4b71e12bcc5e4ec948d.tar.gz freebsd-ports-gnome-f61e35a25d74dfd5872cc4b71e12bcc5e4ec948d.tar.zst freebsd-ports-gnome-f61e35a25d74dfd5872cc4b71e12bcc5e4ec948d.zip |
Improve detection on whether wxgtk was built against gtk12 or gtk20
Diffstat (limited to 'net')
-rw-r--r-- | net/lmule/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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 |