pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/freeglut



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Sep 23 12:28:49 UTC 2019

Modified Files:
        pkgsrc/graphics/freeglut: Makefile PLIST

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

Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/graphics/freeglut/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/graphics/freeglut/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/freeglut/Makefile
diff -u pkgsrc/graphics/freeglut/Makefile:1.22 pkgsrc/graphics/freeglut/Makefile:1.23
--- pkgsrc/graphics/freeglut/Makefile:1.22      Fri Aug 30 17:01:33 2019
+++ pkgsrc/graphics/freeglut/Makefile   Mon Sep 23 12:28:49 2019
@@ -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 @@ CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
 
 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"

Index: pkgsrc/graphics/freeglut/PLIST
diff -u pkgsrc/graphics/freeglut/PLIST:1.6 pkgsrc/graphics/freeglut/PLIST:1.7
--- pkgsrc/graphics/freeglut/PLIST:1.6  Fri Aug 30 17:01:33 2019
+++ pkgsrc/graphics/freeglut/PLIST      Mon Sep 23 12:28:49 2019
@@ -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
 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