aboutsummaryrefslogtreecommitdiff
path: root/converters/enca
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-09 19:02:06 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-09 19:02:06 +0000
commit109f36f2bd5caa540c0cac9ee372b22dd823f6ab (patch)
tree603875360eaf0918f2c4a57035d986dc130d1b7a /converters/enca
parent9d273f6c0fbc27b27565dd63931884939484a82b (diff)
downloadports-109f36f2bd5caa540c0cac9ee372b22dd823f6ab.tar.gz
ports-109f36f2bd5caa540c0cac9ee372b22dd823f6ab.zip
Notes
Diffstat (limited to 'converters/enca')
-rw-r--r--converters/enca/Makefile4
-rw-r--r--converters/enca/files/patch-src::locale_detect.c13
2 files changed, 14 insertions, 3 deletions
diff --git a/converters/enca/Makefile b/converters/enca/Makefile
index dbf54a8bb537..35119f92d65f 100644
--- a/converters/enca/Makefile
+++ b/converters/enca/Makefile
@@ -8,7 +8,7 @@
PORTNAME= enca
PORTVERSION= 0.10.3
CATEGORIES= converters textproc
-MASTER_SITES= http://trific.ath.cx/Ftp/enca/
+MASTER_SITES= http://web.dkm.cz/yeti/enca/
MAINTAINER= never@nevermind.kiev.ua
@@ -21,8 +21,6 @@ INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/enca \
--without-librecode \
--with-libiconv=${LOCALBASE}
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
- CPPFLAGS="-I${LOCALBASE}/include"
MAN1= enca.1
MLINKS= enca.1 enconv.1
diff --git a/converters/enca/files/patch-src::locale_detect.c b/converters/enca/files/patch-src::locale_detect.c
new file mode 100644
index 000000000000..b76fa2bff78a
--- /dev/null
+++ b/converters/enca/files/patch-src::locale_detect.c
@@ -0,0 +1,13 @@
+--- src/locale_detect.c.orig Tue Oct 8 20:11:40 2002
++++ src/locale_detect.c Tue Oct 8 20:12:12 2002
+@@ -33,9 +33,9 @@
+ # else /* HAVE_LANGINFO_H */
+ char *nl_langinfo(nl_item *item);
+ # endif /* HAVE_LANGINFO_H */
++#endif /* HAVE_NL_LANGINFO */
+
+ static char *codeset = NULL;
+-#endif /* HAVE_NL_LANGINFO */
+
+ /* Local prototypes. */
+ static char* locale_alias_convert(char *locname);