1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Fix previous commit, now actually enabling wide character support

- Fix iconv support as well (the dependency was not used)
- Bump portrevision

Reported by:	Christian Weisgerber
This commit is contained in:
Johan van Selst 2010-03-13 18:16:15 +00:00
parent a830675d04
commit 1c8d036f44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251004
2 changed files with 14 additions and 5 deletions

View File

@ -27,12 +27,13 @@ USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --with-db-prefix=${LOCALBASE} \
--program-prefix=n
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
CONFIGURE_SCRIPT= ../dist/configure
MAN1= nex.1 nvi.1 nview.1
.include <bsd.port.options.mk>
.if defined(WITH_WIDE_CHARS)
.if defined(WITH_WIDECHAR)
CONFIGURE_ARGS+= --enable-widechar
.endif

View File

@ -13,7 +13,15 @@
# Prevent multiple expansion
@@ -27631,6 +27631,8 @@ _ACEOF
@@ -22335,6 +22335,7 @@
#define USE_ICONV 1
_ACEOF
+LIBS="${LIBS} -liconv"
for ac_func in iswblank
do
@@ -27631,6 +27632,8 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
@ -22,7 +30,7 @@
main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
_ACEOF
rm -f conftest$ac_exeext
@@ -28624,7 +28626,7 @@ cat confdefs.h >>conftest.$ac_ext
@@ -28624,7 +28627,7 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <stdio.h>
@ -31,7 +39,7 @@
int
main ()
@@ -28755,18 +28757,19 @@ fi
@@ -28755,18 +28758,19 @@
SAVELDFLAGS="$LDFLAGS"
if test "x$with_db_prefix" != "x"; then
LDFLAGS="-L$with_db_prefix/lib $LDFLAGS"
@ -53,7 +61,7 @@
#include <db.h>
int
main ()
@@ -28958,7 +28961,7 @@ _ACEOF
@@ -28958,7 +28962,7 @@
dl_src=../common/dldb.c
LIBS="-ldl $LIBS"
else