summaryrefslogtreecommitdiff
path: root/x11/xscreensaver/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xscreensaver/Makefile.common')
-rw-r--r--x11/xscreensaver/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/xscreensaver/Makefile.common b/x11/xscreensaver/Makefile.common
index 7f5cca15e69..8429c49faf0 100644
--- a/x11/xscreensaver/Makefile.common
+++ b/x11/xscreensaver/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.60 2003/12/16 07:08:10 tron Exp $
+# $NetBSD: Makefile.common,v 1.61 2003/12/18 13:49:17 atatat Exp $
#
DISTNAME= xscreensaver-4.14
@@ -27,6 +27,9 @@ CONFIGURE_ENV+= X_PRE_LIBS=-lXt
CONFIGURE_ENV+= ac_cv_x_app_defaults="${PREFIX}/lib/X11/app-defaults"
CONFIGURE_ENV+= PERL="${PERL5}" ac_cv_perl_version="${PERL_VERSION}"
CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}"
+.if defined(PKGREVISION)
+CONFIGURE_ENV+= X_CFLAGS="-DPKGREVISION=${PKGREVISION}"
+.endif
CONFIGURE_ARGS+= ac_cv_path_INTLTOOL_PERL="${PERL5}"
MAKE_ENV+= KDEDIR=${PREFIX}