aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dict/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/dict/Makefile')
-rw-r--r--textproc/dict/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile
index 432d43882ab3..6663fa33974a 100644
--- a/textproc/dict/Makefile
+++ b/textproc/dict/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= dict
-PORTVERSION= 1.4.9
+PORTVERSION= 1.5.5
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.cs.unc.edu/pub/users/faith/dict/ \
ftp://ftp.dict.org/pub/dict/
@@ -16,10 +16,13 @@ DISTNAME= ${PORTNAME}d-${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= "--with-cflags=${CFLAGS}"
+CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}"
USE_GMAKE= yes
ALL_TARGET= dict
INSTALL_TARGET= install.dict
MAN1= dict.1
+post-patch:
+ ${PERL} -pi.orig -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1
+
.include <bsd.port.mk>