diff options
author | wiz <wiz@pkgsrc.org> | 2017-04-25 11:27:00 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-04-25 11:27:00 +0000 |
commit | 314996532bc3157c54f6e9cc4844a2877b3e5613 (patch) | |
tree | 928036f199fed8abe417de65b63195f3c89a7fdb /graphics | |
parent | 0b9e15bd4a020e74e52fcffd38c38a35276986c1 (diff) | |
download | pkgsrc-314996532bc3157c54f6e9cc4844a2877b3e5613.tar.gz |
Use upstream patch to fix glut.h installation.
No change to binary package.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/freeglut/Makefile | 6 | ||||
-rw-r--r-- | graphics/freeglut/distinfo | 3 | ||||
-rw-r--r-- | graphics/freeglut/patches/patch-CMakeLists.txt | 20 |
3 files changed, 23 insertions, 6 deletions
diff --git a/graphics/freeglut/Makefile b/graphics/freeglut/Makefile index 7e32da96b2e..13e4563af89 100644 --- a/graphics/freeglut/Makefile +++ b/graphics/freeglut/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2016/10/01 07:52:57 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2017/04/25 11:27:00 wiz Exp $ DISTNAME= freeglut-3.0.0 CATEGORIES= graphics @@ -17,10 +17,6 @@ USE_LIBTOOL= yes PKGCONFIG_OVERRIDE= freeglut.pc.in -# https://sourceforge.net/p/freeglut/bugs/232/ -post-install: - ${RM} ${DESTDIR}${PREFIX}/include/GL/glut.h - .include "../../graphics/MesaLib/buildlink3.mk" .include "../../graphics/glu/buildlink3.mk" .include "../../x11/libXi/buildlink3.mk" diff --git a/graphics/freeglut/distinfo b/graphics/freeglut/distinfo index 84542aae6d6..0f2b8a627d1 100644 --- a/graphics/freeglut/distinfo +++ b/graphics/freeglut/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.7 2016/10/01 07:47:04 wiz Exp $ +$NetBSD: distinfo,v 1.8 2017/04/25 11:27:00 wiz Exp $ SHA1 (freeglut-3.0.0.tar.gz) = fca52242f9344627a30f11487ee42002e6b0dacd RMD160 (freeglut-3.0.0.tar.gz) = ce4129a22199516ecf24491f0ed026f40c3f5dae SHA512 (freeglut-3.0.0.tar.gz) = 9c45d5b203b26a7ff92331b3e080a48e806c92fbbe7c65d9262dd18c39cd6efdad8a795a80f499a2d23df84b4909dbd7c1bab20d7dd3555d3d88782ce9dd15b0 Size (freeglut-3.0.0.tar.gz) = 419095 bytes +SHA1 (patch-CMakeLists.txt) = bb53c67d35870ed077c757f39abf78cbc23b700f SHA1 (patch-src_freeglut__joystick.c) = a3f52010378afd1218ba12328a2b4626b758d483 SHA1 (patch-src_x11_fg__joystick__x11.c) = ccd79599939d936e4364c6e8d91a8ce0e058db78 diff --git a/graphics/freeglut/patches/patch-CMakeLists.txt b/graphics/freeglut/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..9358358b990 --- /dev/null +++ b/graphics/freeglut/patches/patch-CMakeLists.txt @@ -0,0 +1,20 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2017/04/25 11:27:00 wiz Exp $ + +https://github.com/dcnieho/FreeGLUT/commit/a0b77bba49573dab3564ce22a503024098664f04 + +--- CMakeLists.txt.orig 2015-02-18 04:59:57.000000000 +0000 ++++ CMakeLists.txt +@@ -62,8 +62,12 @@ SET(FREEGLUT_HEADERS + include/GL/freeglut.h + include/GL/freeglut_ext.h + include/GL/freeglut_std.h +- include/GL/glut.h + ) ++IF(FREEGLUT_REPLACE_GLUT) ++ LIST(APPEND FREEGLUT_SRCS ++ include/GL/glut.h ++ ) ++ENDIF() + SET(FREEGLUT_SRCS + ${FREEGLUT_HEADERS} + src/fg_callbacks.c |