pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xscreensaver Rewrite last change a bit because the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc2cf4d3fccd
branches:  trunk
changeset: 497167:cc2cf4d3fccd
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Jul 21 10:59:01 2005 +0000

description:
Rewrite last change a bit because the check didn't work properly.

diffstat:

 x11/xscreensaver/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 0136b1394ff2 -r cc2cf4d3fccd x11/xscreensaver/Makefile
--- a/x11/xscreensaver/Makefile Thu Jul 21 10:43:23 2005 +0000
+++ b/x11/xscreensaver/Makefile Thu Jul 21 10:59:01 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2005/07/21 10:43:23 tron Exp $
+# $NetBSD: Makefile,v 1.75 2005/07/21 10:59:01 tron Exp $
 
 COMMENT=       Screen saver and locker for the X window system
 PKGREVISION=   1
@@ -13,11 +13,11 @@
 CONFIGURE_ARGS+=       --with-xml=${BUILDLINK_PREFIX.libxml2}
 CONFIGURE_ARGS+=       --with-configdir=${PREFIX}/libexec/xscreensaver/config
 
-.if exists(${PREFIX}/${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/xscreensaver.mo)
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
+.if exists(${WRKSRC}/po/ca.gmo)
 PLIST_SUBST+=           OLD_GETTEXT=
 .else
 PLIST_SUBST+=           OLD_GETTEXT="@comment "
 .endif
-
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index