aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-08-15 22:07:24 +0800
committertg <tg@FreeBSD.org>2000-08-15 22:07:24 +0800
commitb0fcb3d564acda40364bd63289477f8c86cbb106 (patch)
tree6bf8ddad3430bc6b7acf7b63ae94eee71ef2b80e /x11
parent51a94c664566577246fd187f547ec3d8ff7a83e1 (diff)
downloadfreebsd-ports-gnome-b0fcb3d564acda40364bd63289477f8c86cbb106.tar.gz
freebsd-ports-gnome-b0fcb3d564acda40364bd63289477f8c86cbb106.tar.zst
freebsd-ports-gnome-b0fcb3d564acda40364bd63289477f8c86cbb106.zip
Upgrade to 4.17.
XFree86-4 users: please test this port. According to the docs, xlock should compile now. (I can't try it, I'm still running XFree86-3.3.6.)
Diffstat (limited to 'x11')
-rw-r--r--x11/xlockmore/Makefile12
-rw-r--r--x11/xlockmore/distinfo2
2 files changed, 11 insertions, 3 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 59356da485aa..8e0ace81f5e7 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xlockmore
-PORTVERSION= 4.16.1
+PORTVERSION= 4.17
CATEGORIES= x11
MASTER_SITES= ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore/ \
${MASTER_SITE_XCONTRIB}
@@ -17,7 +17,7 @@ MAINTAINER= tg@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-gl --without-motif --without-sx \
--without-editres --without-dtsaver --without-rplay \
- --without-nas --without-gtk #--enable-customization
+ --without-nas --without-gtk --without-esound
.if defined(MAKE_KERBEROS4)
CONFIGURE_ARGS+= --enable-kerberos4
.endif
@@ -42,4 +42,12 @@ USE_MESA= yes
CONFIGURE_ARGS+= --without-mesagl
.endif
+XFREE86VERSION!= /usr/bin/awk '/\#define XFree86Version/ {print $$3}' \
+ ${X11BASE}/lib/X11/config/xfree86.cf
+
+.if ${XFREE86VERSION} >= 4000
+post-configure:
+ ${PERL} -pi -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
+.endif
+
.include <bsd.port.post.mk>
diff --git a/x11/xlockmore/distinfo b/x11/xlockmore/distinfo
index d3e50f04834a..a0fa7daef831 100644
--- a/x11/xlockmore/distinfo
+++ b/x11/xlockmore/distinfo
@@ -1 +1 @@
-MD5 (xlockmore-4.16.1.tar.gz) = ba7af9df46b75e603b4774f76fcb2f3f
+MD5 (xlockmore-4.17.tar.gz) = 6e221dd493bb3fb49c1793c51e7d6e2a