aboutsummaryrefslogtreecommitdiffstats
path: root/converters/libiconv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/libiconv/Makefile')
-rw-r--r--converters/libiconv/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index 1ca53359cf2d..6e0b785bd822 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libiconv
PORTVERSION= 1.7
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= converters devel
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.ilog.fr/pub/Users/haible/gnu/
@@ -22,4 +22,7 @@ INSTALLS_SHLIB= yes
MAN1= iconv.1
MAN3= iconv.3 iconv_open.3 iconv_close.3
+pre-build:
+ @cd ${WRKSRC} ; /usr/bin/gperf -t -L ANSI-C -H aliases_hash -N aliases_lookup -7 -C -k '1,3-11,$$' -i 1 lib/aliases.gperf > lib/aliases.h
+
.include <bsd.port.mk>