summaryrefslogtreecommitdiffstats
path: root/x11/xlockmore/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-03-03 08:29:05 +0000
committertg <tg@FreeBSD.org>1998-03-03 08:29:05 +0000
commit1be065f8ecd66562497d8352a6e0fe5f4c8bd188 (patch)
tree11b60414793488b20edc5e14a828cd5df69c4b51 /x11/xlockmore/Makefile
parenta15e04e67e67434104efb58a7bb2a649051654f9 (diff)
downloadFreeBSD-ports-1be065f8ecd66562497d8352a6e0fe5f4c8bd188.zip
FreeBSD-ports-1be065f8ecd66562497d8352a6e0fe5f4c8bd188.tar.gz
Upgrade to 4.08. Use MesaGL when available.
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 4a792a0..48ad1c5 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>
OpenPOWER on IntegriCloud