pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib - Fix MESA_TINY missed in last versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27a9212cba02
branches:  trunk
changeset: 398136:27a9212cba02
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Tue Aug 25 05:27:57 2009 +0000

description:
- Fix MESA_TINY missed in last version bump.
- Add INSTALL_LIB_DIR and INSTALL_INC_DIR to fix *.pc files.

This should address issues mentioned in the PR 41895. While there make dri
default for DragonFly. Bump PKGREVISION.

diffstat:

 graphics/MesaLib/Makefile              |  3 ++-
 graphics/MesaLib/files/configs/default |  7 +++++--
 graphics/MesaLib/options.mk            |  6 +++++-
 3 files changed, 12 insertions(+), 4 deletions(-)

diffs (59 lines):

diff -r eca7c1199c0d -r 27a9212cba02 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Tue Aug 25 04:18:46 2009 +0000
+++ b/graphics/MesaLib/Makefile Tue Aug 25 05:27:57 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.80 2009/07/08 20:00:57 hasso Exp $
+# $NetBSD: Makefile,v 1.81 2009/08/25 05:27:57 hasso Exp $
 
 PKGNAME=       MesaLib-${MESA_PKGVERSION}
+PKGREVISION=   1
 COMMENT=       Graphics library similar to SGI's OpenGL
 
 MESA_HEADERS=  gl.h gl_mangle.h glext.h glx.h glxext.h \
diff -r eca7c1199c0d -r 27a9212cba02 graphics/MesaLib/files/configs/default
--- a/graphics/MesaLib/files/configs/default    Tue Aug 25 04:18:46 2009 +0000
+++ b/graphics/MesaLib/files/configs/default    Tue Aug 25 05:27:57 2009 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: default,v 1.3 2009/06/05 11:10:35 wiz Exp $
+# $NetBSD: default,v 1.4 2009/08/25 05:27:57 hasso Exp $
 
 CONFIG_NAME = default
 
 # Version info
 MESA_MAJOR=    7
 MESA_MINOR=    4
-MESA_TINY=     2
+MESA_TINY=     4
 
 GLU_CFLAGS=    # defined
 
@@ -56,6 +56,9 @@
         -lm
 
 INSTALL_DIR?= $(PREFIX)
+INSTALL_LIB_DIR = $(INSTALL_DIR)/$(LIB_DIR)
+INSTALL_INC_DIR = $(INSTALL_DIR)/include
+
 DRI_DRIVER_INSTALL_DIR?= $(PREFIX)/lib/dri
 
 DRI_DRIVER_SEARCH_DIR?=  $(LOCALBASE)/lib/dri
diff -r eca7c1199c0d -r 27a9212cba02 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Tue Aug 25 04:18:46 2009 +0000
+++ b/graphics/MesaLib/options.mk       Tue Aug 25 05:27:57 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.14 2009/08/08 15:03:18 drochner Exp $
+# $NetBSD: options.mk,v 1.15 2009/08/25 05:27:57 hasso Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.MesaLib
 PKG_SUPPORTED_OPTIONS=
@@ -33,6 +33,10 @@
 PKG_SUGGESTED_OPTIONS+=                dri
 .endif
 
+.if ${OPSYS} == "DragonFly"
+PKG_SUGGESTED_OPTIONS+=                dri
+.endif
+
 .include "../../mk/bsd.options.mk"
 ###
 ### XXX Yes, this is a bit overly verbose; with Mesa, that can't hurt much.



Home | Main Index | Thread Index | Old Index