pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/evince -according to a posting to tech-pkg by Le...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60053f625495
branches:  trunk
changeset: 498646:60053f625495
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Aug 29 09:52:45 2005 +0000

description:
-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:

 print/evince/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r e8135174a718 -r 60053f625495 print/evince/Makefile
--- a/print/evince/Makefile     Mon Aug 29 09:49:07 2005 +0000
+++ b/print/evince/Makefile     Mon Aug 29 09:52:45 2005 +0000
@@ -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_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 @@
 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"



Home | Main Index | Thread Index | Old Index