summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/mahogany/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mahogany/Makefile b/mail/mahogany/Makefile
index 7944fc6d3928..3b7c4f0666cf 100644
--- a/mail/mahogany/Makefile
+++ b/mail/mahogany/Makefile
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= mahogany
MAINTAINER= ports@freebsd.org
COMMENT= An X11 mail and news client
-LIB_DEPENDS+= wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
+LIB_DEPENDS+= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
@@ -26,7 +26,8 @@ INSTALL_TARGET= install_bin install_locale
MAN1= M.1 mahogany.1
-CONFIGURE_ARGS= --with-python=none
+CONFIGURE_ARGS= --with-python=none \
+ --with-wx-config=${X11BASE}/bin/wxgtk2-2.4-config
CONFIGURE_ENV= OSTYPE=${OPSYS} CFLAGS="${CFLAGS}"
post-patch: