summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2006-12-03 19:47:48 +0000
committerabs <abs@pkgsrc.org>2006-12-03 19:47:48 +0000
commit26ace595f2eb1bb5c7389c4632248c50cdf59ed6 (patch)
treefa2e43c6273950c253f89c6f0a142e48c40643ff
parent850791a37447a7df1952dc90e9a9da05b0be4931 (diff)
downloadpkgsrc-26ace595f2eb1bb5c7389c4632248c50cdf59ed6.tar.gz
We use iconv, so add its buildlink3.mk. Also set ICONV=iconv in the
environment to avoid the build failing due to the 'extra smart' build system in here taking "iconv" in intltool-merge.in and replacing it with "/usr/pkg/bin/iconv"
-rw-r--r--textproc/scrollkeeper/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
index 7b476c554ed..ef9c379840e 100644
--- a/textproc/scrollkeeper/Makefile
+++ b/textproc/scrollkeeper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2006/11/14 13:56:15 joerg Exp $
+# $NetBSD: Makefile,v 1.44 2006/12/03 19:47:48 abs Exp $
#
DISTNAME= scrollkeeper-0.3.14
@@ -35,6 +35,8 @@ CONFIGURE_ARGS+= --with-omfdirs=${PREFIX}/share/omf
CONFIGURE_ARGS+= --with-omfdirs=${LOCALBASE}/share/omf:${X11PREFIX}/share/omf
.endif
+MAKE_ENV+= ICONV=iconv
+
SCROLLKEEPER_DATADIR= ${PREFIX}/libdata/scrollkeeper
SCROLLKEEPER_REBUILDDB= ${PREFIX}/bin/scrollkeeper-rebuilddb
FILES_SUBST+= SCROLLKEEPER_DATADIR=${SCROLLKEEPER_DATADIR:Q}
@@ -65,6 +67,7 @@ SUBST_STAGE.sc-gtfd= post-patch
SUBST_FILES.sc-gtfd= libs/install.c
SUBST_SED.sc-gtfd= -e s,scrollkeeper-get-toc-from-docpath\ ,${PREFIX}/bin/scrollkeeper-get-toc-from-docpath\ ,
+.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"