summaryrefslogtreecommitdiffstats
path: root/x11/xlockmore/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-08-15 14:07:24 +0000
committertg <tg@FreeBSD.org>2000-08-15 14:07:24 +0000
commitb0fcb3d564acda40364bd63289477f8c86cbb106 (patch)
tree6bf8ddad3430bc6b7acf7b63ae94eee71ef2b80e /x11/xlockmore/Makefile
parent51a94c664566577246fd187f547ec3d8ff7a83e1 (diff)
downloadFreeBSD-ports-b0fcb3d564acda40364bd63289477f8c86cbb106.zip
FreeBSD-ports-b0fcb3d564acda40364bd63289477f8c86cbb106.tar.gz
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/xlockmore/Makefile')
-rw-r--r--x11/xlockmore/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 59356da..8e0ace8 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>
OpenPOWER on IntegriCloud