aboutsummaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-04-29 18:41:51 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-04-29 18:41:51 +0000
commita7bce67707e25f78d498bf79bc173c2a4a3f6867 (patch)
tree9bb9057b08bded458b15679bcff3c4cdd47b38a8 /converters/libiconv
parent91cb80d94325e8fcc4dd2bd428e58094b0f30891 (diff)
downloadports-a7bce67707e25f78d498bf79bc173c2a4a3f6867.tar.gz
ports-a7bce67707e25f78d498bf79bc173c2a4a3f6867.zip
Notes
Diffstat (limited to 'converters/libiconv')
-rw-r--r--converters/libiconv/Makefile5
-rw-r--r--converters/libiconv/files/patch-ae16
2 files changed, 15 insertions, 6 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>
diff --git a/converters/libiconv/files/patch-ae b/converters/libiconv/files/patch-ae
index a399c04d1235..22a5f0a133f0 100644
--- a/converters/libiconv/files/patch-ae
+++ b/converters/libiconv/files/patch-ae
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- libcharset/lib/Makefile.in.orig Thu Jun 28 01:56:56 2001
-+++ libcharset/lib/Makefile.in Mon Aug 27 12:32:43 2001
+--- libcharset/lib/Makefile.in.orig Wed Jun 27 18:56:56 2001
++++ libcharset/lib/Makefile.in Sat Apr 27 15:57:01 2002
@@ -10,6 +10,7 @@
local_prefix = /usr/local
exec_prefix = @exec_prefix@
@@ -20,6 +17,15 @@ $FreeBSD$
# Needed by $(LIBTOOL).
top_builddir = ..
+@@ -53,7 +54,7 @@
+ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libcharset.la -rpath $(libdir) -version-info $(LIBCHARSET_VERSION_INFO) -no-undefined $(OBJECTS)
+
+ localcharset.lo : $(srcdir)/localcharset.c
+- $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H -DLIBDIR=\"$(libdir)\" -c $(srcdir)/localcharset.c
++ $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H -DLIBDIR=\"$(sysconfdir)\" -c $(srcdir)/localcharset.c
+
+ charset.alias: $(srcdir)/config.charset
+ $(SHELL) $(srcdir)/config.charset '@host@' > t-$@
@@ -72,11 +73,12 @@
install-lib : all force
$(MKINSTALLDIRS) $(libdir)