From cba8f2fe7994391bf439f4cf57927f1b2f11d275 Mon Sep 17 00:00:00 2001 From: drochner Date: Mon, 29 Aug 2005 09:52:45 +0000 Subject: [PATCH] -according to a posting to tech-pkg by Leonard Schmidt, this needs USE_MSGFMT_PLURALS to build on NetBSD<=2 -do a bit better faking up a "ghostscript" for "configure", to allow build w/o a ghostscript installed (this is to avoid a hard dependency on a specific ghostscript version) --- print/evince/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/print/evince/Makefile b/print/evince/Makefile index d8b6c2eb1aed..78148798abbd 100644 --- a/print/evince/Makefile +++ b/print/evince/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2005/08/19 16:00:18 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2005/08/29 09:52:45 drochner Exp $ # DISTNAME= evince-0.3.2 @@ -14,6 +14,7 @@ USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_TOOLS+= gmake pkg-config +USE_MSGFMT_PLURALS= yes CONFIGURE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/" MAKE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/" @@ -21,6 +22,13 @@ MAKE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/" GCONF2_SCHEMAS+= evince-thumbnailer.schemas GCONF2_SCHEMAS+= evince.schemas +# XXX fake for "configure" to allow build w/o a gs installed +# (avoid hard dependency on a specific version) +CONFIGURE_ARGS+= --with-gs=${LOCALBASE}/bin/gs +pre-configure: + ${ECHO} "echo 8.51" >${BUILDLINK_DIR}/bin/gs + ${CHMOD} +x ${BUILDLINK_DIR}/bin/gs + .include "../../x11/gtk2/buildlink3.mk" .include "../../devel/libgnomeui/buildlink3.mk" .include "../../sysutils/gnome-vfs2/buildlink3.mk"