Bug 257626 - graphics/glew: drop unused dependencies after 1.11.0
Summary: graphics/glew: drop unused dependencies after 1.11.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords: patch, patch-ready
Depends on:
Blocks:
 
Reported: 2021-08-04 21:22 UTC by Jan Beich
Modified: 2021-08-27 18:43 UTC (History)
0 users

See Also:


Attachments
v1 (apply via "git am") (1.03 KB, patch)
2021-08-04 21:22 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2021-08-04 21:22:25 UTC
Created attachment 226956 [details]
v1 (apply via "git am")

* -lGLU dropped in https://github.com/nigels-com/glew/commit/3828cfb38c7b
* -lXmu -lXi -lXext dropped in https://github.com/nigels-com/glew/commit/d03b68e40d00

$ poudriere testport -j 114i386 graphics/glew
[...]
===========================================================================
=>> Checking shared library dependencies
 0x00000001 NEEDED               Shared library: [libGL.so.1]
 0x00000001 NEEDED               Shared library: [libGLEW.so.2]
 0x00000001 NEEDED               Shared library: [libX11.so.6]
 0x00000001 NEEDED               Shared library: [libc.so.7]
Comment 1 commit-hook freebsd_committer 2021-08-27 15:44:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8532b6f5d0782df7f5243758bd67f458758dfeb0

commit 8532b6f5d0782df7f5243758bd67f458758dfeb0
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-04 21:17:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-08-27 15:40:55 +0000

    graphics/glew: drop unused dependencies after 0ccfc073ab99

    * -lGLU dropped in https://github.com/nigels-com/glew/commit/3828cfb38c7b
    * -lXmu -lXi -lXext dropped in https://github.com/nigels-com/glew/commit/d03b68e40d00

    PR:             257626
    Approved by:    maintainer timeout (3 weeks)

 graphics/glew/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 2 commit-hook freebsd_committer 2021-08-27 18:43:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69307666c81eab8e37a872fdc0481c4d3e250311

commit 69307666c81eab8e37a872fdc0481c4d3e250311
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-27 18:19:09 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-08-27 18:42:11 +0000

    graphics/glew: restore GLU for now after 8532b6f5d078

    While glew itself builds with -DGLEW_NO_GLU it's neither passed via
    pkg-config to consumers nor visible outside of pkg-config.

    $ pkg install glew pkgconf
    $ pkg-config --cflags glew
    Package glu was not found in the pkg-config search path.
    Perhaps you should add the directory containing `glu.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'glu', required by 'glew', not found

    PR:             257626 (for tracking)
    Reported by:    madpilot

 graphics/glew/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)