pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/freeglut freeglut: Install glut.pc. Helps bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05423a0fe01f
branches:  trunk
changeset: 340140:05423a0fe01f
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Sep 23 12:28:49 2019 +0000

description:
freeglut: Install glut.pc. Helps building mupdf with opengl support.

Bump PKGREVISION

diffstat:

 graphics/freeglut/Makefile |  9 +++++++--
 graphics/freeglut/PLIST    |  3 ++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 5e9ec8046c73 -r 05423a0fe01f graphics/freeglut/Makefile
--- a/graphics/freeglut/Makefile        Mon Sep 23 12:17:04 2019 +0000
+++ b/graphics/freeglut/Makefile        Mon Sep 23 12:28:49 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2019/08/30 17:01:33 nia Exp $
+# $NetBSD: Makefile,v 1.23 2019/09/23 12:28:49 nia Exp $
 
 DISTNAME=      freeglut-3.0.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=freeglut/}
 
@@ -18,6 +18,11 @@
 
 PKGCONFIG_OVERRIDE=    freeglut.pc.in
 
+# Install glut.pc for compatibility.
+post-install:
+       ${INSTALL_DATA} ${DESTDIR}${PREFIX}/lib/pkgconfig/freeglut.pc \
+           ${DESTDIR}${PREFIX}/lib/pkgconfig/glut.pc
+
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/glu/buildlink3.mk"
 .include "../../x11/libXi/buildlink3.mk"
diff -r 5e9ec8046c73 -r 05423a0fe01f graphics/freeglut/PLIST
--- a/graphics/freeglut/PLIST   Mon Sep 23 12:17:04 2019 +0000
+++ b/graphics/freeglut/PLIST   Mon Sep 23 12:28:49 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2019/08/30 17:01:33 nia Exp $
+@comment $NetBSD: PLIST,v 1.7 2019/09/23 12:28:49 nia Exp $
 include/GL/freeglut.h
 include/GL/freeglut_ext.h
 include/GL/freeglut_std.h
@@ -8,3 +8,4 @@
 lib/libglut.so.3
 lib/libglut.so.3.10.0
 lib/pkgconfig/freeglut.pc
+lib/pkgconfig/glut.pc



Home | Main Index | Thread Index | Old Index