summaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-09 19:02:06 +0000
committerijliao <ijliao@FreeBSD.org>2002-10-09 19:02:06 +0000
commit5e457d7343a12c7b251477454e375a953dd09d01 (patch)
tree2b8ba5218d1bf9ef4816778b6934e17dc1136965 /converters
parente2c7bf40a0a4a941133b17c625f8c07a38a05642 (diff)
downloadFreeBSD-ports-5e457d7343a12c7b251477454e375a953dd09d01.zip
FreeBSD-ports-5e457d7343a12c7b251477454e375a953dd09d01.tar.gz
- Fix MASTER_SITES, as far as author (again) changed it's location;
- Fix build on per-nl_langinfo systems (RELENG_4_4 for example); - Remove unnecceccary CONFIGURE_ARGS; PR: 43834 Submitted by: maintainer
Diffstat (limited to 'converters')
-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 dbf54a8..35119f9 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 0000000..b76fa2b
--- /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);
OpenPOWER on IntegriCloud