Date: Sat, 29 Feb 2020 22:52:52 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r527479 - in head/graphics: glew glew-wayland Message-ID: <202002292252.01TMqqGD002941@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat Feb 29 22:52:51 2020 New Revision: 527479 URL: https://svnweb.freebsd.org/changeset/ports/527479 Log: graphics/glew-wayland: install more files $ LD_PRELOAD=libGLEW-wayland.so glewinfo Error [main]: glewInit failed: Missing GL version Modified: head/graphics/glew-wayland/Makefile (contents, props changed) head/graphics/glew-wayland/pkg-plist (contents, props changed) head/graphics/glew/Makefile (contents, props changed) Modified: head/graphics/glew-wayland/Makefile ============================================================================== --- head/graphics/glew-wayland/Makefile Sat Feb 29 21:39:19 2020 (r527478) +++ head/graphics/glew-wayland/Makefile Sat Feb 29 22:52:51 2020 (r527479) @@ -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" Modified: head/graphics/glew-wayland/pkg-plist ============================================================================== --- head/graphics/glew-wayland/pkg-plist Sat Feb 29 21:39:19 2020 (r527478) +++ head/graphics/glew-wayland/pkg-plist Sat Feb 29 22:52:51 2020 (r527479) @@ -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 Modified: head/graphics/glew/Makefile ============================================================================== --- head/graphics/glew/Makefile Sat Feb 29 21:39:19 2020 (r527478) +++ head/graphics/glew/Makefile Sat Feb 29 22:52:51 2020 (r527479) @@ -3,6 +3,7 @@ PORTNAME= glew PORTVERSION= 2.1.0 +PORTREVISION?= 0 CATEGORIES= graphics MASTER_SITES= SF
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002292252.01TMqqGD002941>