summaryrefslogtreecommitdiff
path: root/x11/xlockmore/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-03-03 08:29:05 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-03-03 08:29:05 +0000
commitf2efb150d2d68650f21f412fc0e6f21659920aab (patch)
tree7db99cc6ea485b32e6ad1dfb768a0d716dbb0f6c /x11/xlockmore/Makefile
parentUpdate the shlib minor version to "0.99" so this thing packages. (diff)
Upgrade to 4.08. Use MesaGL when available.
Notes
Notes: svn path=/head/; revision=10009
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 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>