aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xlockmore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xlockmore/Makefile')
-rw-r--r--x11/xlockmore/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 4a792a06f59..48ad1c58333 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>