summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2005-08-29 09:52:45 +0000
committerdrochner <drochner@pkgsrc.org>2005-08-29 09:52:45 +0000
commitcba8f2fe7994391bf439f4cf57927f1b2f11d275 (patch)
tree6bcb21ef0ec62cd1f45d08e0b5216481da01ede9 /print
parent8c63ac307ef5d4ad050c41e90395c5a8a843168b (diff)
downloadpkgsrc-cba8f2fe7994391bf439f4cf57927f1b2f11d275.tar.gz
-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)
Diffstat (limited to 'print')
-rw-r--r--print/evince/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/print/evince/Makefile b/print/evince/Makefile
index d8b6c2eb1ae..78148798abb 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"