summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xscreensaver/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index edb3f6db228..299f47b95ad 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -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+= --without-gtk
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"