graphics/glew-wayland: install more files
$ LD_PRELOAD=libGLEW-wayland.so glewinfo Error [main]: glewInit failed: Missing GL version
This commit is contained in:
parent
0044314a15
commit
88104b3658
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527479
3 changed files with 20 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PKGNAMESUFFIX= -wayland
|
||||
|
||||
# https://github.com/nigels-com/glew/issues/172
|
||||
|
@ -22,7 +22,21 @@ slave-post-patch:
|
|||
@${REINPLACE_CMD} 's/Makefile.$$(SYSTEM)/&-egl/' ${WRKSRC}/Makefile
|
||||
@${SED} 's/linux/${OPSYS:tl}/' ${WRKSRC}/config/Makefile.linux-egl \
|
||||
>${WRKSRC}/config/Makefile.${OPSYS:tl}-egl
|
||||
@${REINPLACE_CMD} -e '/^Requires:/d' \
|
||||
-e '/^Name:/s/${PORTNAME}/${PKGBASE}/' \
|
||||
${WRKSRC}/${PORTNAME}.pc.in
|
||||
# GCC 4.2 doesn't support redefining same typedef
|
||||
@${REINPLACE_CMD} '/typedef.*EGLint;/d' ${WRKSRC}/include/GL/eglew.h
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo \
|
||||
${STAGEDIR}${PREFIX}/bin/glewinfo${PKGNAMESUFFIX}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo \
|
||||
${STAGEDIR}${PREFIX}/bin/visualinfo${PKGNAMESUFFIX}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/GL
|
||||
${INSTALL_DATA} ${WRKSRC}/include/GL/eglew.h \
|
||||
${STAGEDIR}${PREFIX}/include/GL
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pc \
|
||||
${STAGEDIR}${PREFIX}/libdata/pkgconfig/${PKGBASE}.pc
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
bin/glewinfo-wayland
|
||||
bin/visualinfo-wayland
|
||||
include/GL/eglew.h
|
||||
lib/libGLEW-wayland.a
|
||||
lib/libGLEW-wayland.so
|
||||
lib/libGLEW-wayland.so.2
|
||||
lib/libGLEW-wayland.so.2.1.0
|
||||
libdata/pkgconfig/glew-wayland.pc
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= glew
|
||||
PORTVERSION= 2.1.0
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
Loading…
Reference in a new issue