summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/xlockmore/Makefile15
-rw-r--r--x11/xlockmore/distinfo2
2 files changed, 12 insertions, 5 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 4a792a06f599..48ad1c58333c 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: xlockmore
-# Version required: 4.07
+# Version required: 4.08
# Date created: 9 November 1994
# Whom: smace
#
-# $Id: Makefile,v 1.25 1997/12/24 01:21:47 alex Exp $
+# $Id: Makefile,v 1.26 1998/02/04 07:58:59 tg Exp $
#
-DISTNAME= xlockmore-4.07
+DISTNAME= xlockmore-4.08
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
@@ -16,10 +16,17 @@ MAINTAINER= tg@FreeBSD.ORG
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-gl --without-motif --without-sx --without-mesagl \
+CONFIGURE_ARGS= --without-gl --without-motif --without-sx \
--without-editres --without-dtsaver --without-rplay \
--without-nas
USE_X11= yes
MAN1= xlock.1
+.if exists(${X11BASE}/lib/libMesaGL.a)
+CONFIGURE_ARGS+= --with-mesagl
+LIB_DEPENDS+= GL\\.13:${PORTSDIR}/graphics/Mesa
+.else
+CONFIGURE_ARGS+= --without-mesagl
+.endif
+
.include <bsd.port.mk>
diff --git a/x11/xlockmore/distinfo b/x11/xlockmore/distinfo
index 8e61def12636..eeac66e32b1d 100644
--- a/x11/xlockmore/distinfo
+++ b/x11/xlockmore/distinfo
@@ -1 +1 @@
-MD5 (xlockmore-4.07.tar.gz) = de9b6a413d5623db1efd5c6e2ecfc395
+MD5 (xlockmore-4.08.tar.gz) = afa84d5dcf3931c51f5730f048747e92