summaryrefslogtreecommitdiff
path: root/textproc/icu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/icu/Makefile')
-rw-r--r--textproc/icu/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile
index 81e4ad663dd..8bff1f14a82 100644
--- a/textproc/icu/Makefile
+++ b/textproc/icu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/06/11 06:34:52 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2002/10/28 22:49:15 seb Exp $
#
DISTNAME= icu-1.7
@@ -13,13 +13,21 @@ COMMENT= Robust and full-featured unicode support
WRKSRC= ${WRKDIR}/icu/source
GNU_CONFIGURE= YES
USE_GMAKE= YES
+USE_BUILDLINK2= YES
-PLIST_INIT= ${PKGDIR}/PLIST
-PLIST_SRC= ${WRKSRC}/PLIST
+.include "../../mk/endian.mk"
-CONFIGURE_ARGS+= --disable-threads
+BIG_ENDIAN=
+LITTLE_ENDIAN=
+.if ${MACHINE_ENDIAN} == "little"
+BIG_ENDIAN= '@comment '
+.elif ${MACHINE_ENDIAN} == "big"
+LITTLE_ENDIAN= '@comment '
+.endif
+PLIST_SUBST+= BIG_ENDIAN=${BIG_ENDIAN}
+PLIST_SUBST+= LITTLE_ENDIAN=${LITTLE_ENDIAN}
-CPPFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ARGS+= --disable-threads
pre-configure:
${CHMOD} u+rx ${WRKSRC}/configure
@@ -27,8 +35,4 @@ pre-configure:
test: build
cd ${WRKSRC} && ${MAKE_PROGRAM} check
-post-install:
- @${CP} ${PLIST_INIT} ${PLIST_SRC}
- @(cd ${PREFIX} && ls lib/icu/1.7/libicudt17[lb].so >> ${PLIST_SRC})
-
.include "../../mk/bsd.pkg.mk"