FreeBSD Bugzilla – Attachment 176947 Details for
Bug 214467
[exp-run]: exp-run for graphics/glew update to version 2.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
grahics/glew patch
glew-2.0.patch (text/plain), 4.57 KB, created by
Marcus von Appen
on 2016-11-13 09:58:20 UTC
(
hide
)
Description:
grahics/glew patch
Filename:
MIME Type:
Creator:
Marcus von Appen
Created:
2016-11-13 09:58:20 UTC
Size:
4.57 KB
patch
obsolete
>Index: graphics/glew/Makefile >=================================================================== >--- graphics/glew/Makefile (revision 426011) >+++ graphics/glew/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= glew >-PORTVERSION= 1.13.0 >+PORTVERSION= 2.0.0 > CATEGORIES= graphics > MASTER_SITES= SF > >@@ -14,10 +14,14 @@ > > USES= gmake tar:tgz > USE_XORG= x11 xext xi xmu >-USE_GL= yes >+USE_GL= gl glu > USE_LDCONFIG= yes > >-MAKE_ENV+= GLEW_DEST=${PREFIX} >+INSTALL_TARGET= install.all >+MAKE_ENV+= GLEW_PREFIX=${PREFIX}\ >+ GLEW_DEST=${PREFIX} \ >+ LOCALLIBDIR=${PREFIX}/lib \ >+ PKGDIR=${PREFIX}/libdata/pkgconfig > > OPTIONS_DEFINE= DOCS > >@@ -24,24 +28,11 @@ > .include <bsd.port.options.mk> > > post-patch: >- @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/Makefile >+ @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' \ >+ -e 's|LIBDIR|LOCALLIBDIR|' ${WRKSRC}/Makefile > >-do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${STAGEDIR}${PREFIX}/bin >- ${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo ${STAGEDIR}${PREFIX}/bin >- >- ${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEW.so.${PORTVERSION} \ >- ${STAGEDIR}${PREFIX}/lib/libGLEW.so.1 >- ${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEWmx.so.${PORTVERSION} \ >- ${STAGEDIR}${PREFIX}/lib/libGLEWmx.so.1 >- ${LN} -sf ${PREFIX}/lib/libGLEW.so.1 ${STAGEDIR}${PREFIX}/lib/libGLEW.so >- ${LN} -sf ${PREFIX}/lib/libGLEWmx.so.1 ${STAGEDIR}${PREFIX}/lib/libGLEWmx.so >- ${INSTALL_DATA} ${WRKSRC}/lib/libGLEW.a ${STAGEDIR}${PREFIX}/lib >- ${INSTALL_DATA} ${WRKSRC}/lib/libGLEWmx.a ${STAGEDIR}${PREFIX}/lib >- ${MKDIR} ${STAGEDIR}${PREFIX}/include/GL >- ${INSTALL_DATA} ${WRKSRC}/include/GL/*.h ${STAGEDIR}${PREFIX}/include/GL >- ${INSTALL_DATA} ${WRKSRC}/glew.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig >- ${INSTALL_DATA} ${WRKSRC}/glewmx.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig >+post-install: >+ @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libGLEW.so.${PORTVERSION} > @${MKDIR} ${STAGEDIR}${DOCSDIR} > .for i in css html jpg png > ${INSTALL_DATA} ${WRKSRC}/doc/*.${i} ${STAGEDIR}${DOCSDIR} >Index: graphics/glew/distinfo >=================================================================== >--- graphics/glew/distinfo (revision 426011) >+++ graphics/glew/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (glew-1.13.0.tgz) = aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 >-SIZE (glew-1.13.0.tgz) = 616070 >+TIMESTAMP = 1477129435 >+SHA256 (glew-2.0.0.tgz) = c572c30a4e64689c342ba1624130ac98936d7af90c3103f9ce12b8a0c5736764 >+SIZE (glew-2.0.0.tgz) = 667340 >Index: graphics/glew/files/patch-config__Makefile.freebsd >=================================================================== >--- graphics/glew/files/patch-config__Makefile.freebsd (revision 426011) >+++ graphics/glew/files/patch-config__Makefile.freebsd (working copy) >@@ -1,6 +1,6 @@ >---- config/Makefile.freebsd.orig 2015-02-08 09:24:57 UTC >+--- config/Makefile.freebsd.orig 2016-10-22 09:45:53 UTC > +++ config/Makefile.freebsd >-@@ -1,22 +1,22 @@ >+@@ -1,11 +1,11 @@ > NAME = $(GLEW_NAME) > -CC = cc > -LD = ld >@@ -7,7 +7,7 @@ > -LDFLAGS.EXTRA = -L/usr/X11R6/lib > +CC ?= cc > +LD ?= ld >-+LDFLAGS.EXTRA ?= -L${LOCALBASE}/lib >++LDFLAGS.EXTRA = -L${LOCALBASE}/lib > LDFLAGS.GL = -lGL -lX11 > LDFLAGS.STATIC = -Wl,-Bstatic > LDFLAGS.DYNAMIC = -Wl,-Bdynamic >@@ -16,18 +16,3 @@ > NAME = GLEW > WARN = -Wall -W > POPT = -O2 >- BIN.SUFFIX = >--LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) >-+LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR) >- LIB.DEVLNK = lib$(NAME).so >--LIB.SHARED = lib$(NAME).so.$(SO_VERSION) >-+LIB.SHARED = lib$(NAME).so.$(GLEW_VERSION) >- LIB.STATIC = lib$(NAME).a >- LDFLAGS.SO = -shared -soname $(LIB.SONAME) >--LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR) >-+LIB.SONAME.MX = lib$(NAME)mx.so.$(GLEW_MAJOR) >- LIB.DEVLNK.MX = lib$(NAME)mx.so >--LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION) >-+LIB.SHARED.MX = lib$(NAME)mx.so.$(GLEW_VERSION) >- LIB.STATIC.MX = lib$(NAME)mx.a >- LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX) >Index: graphics/glew/pkg-plist >=================================================================== >--- graphics/glew/pkg-plist (revision 426011) >+++ graphics/glew/pkg-plist (working copy) >@@ -4,13 +4,10 @@ > include/GL/glxew.h > include/GL/wglew.h > lib/libGLEW.a >-lib/libGLEWmx.a >-lib/libGLEWmx.so > lib/libGLEW.so >-lib/libGLEWmx.so.1 >-lib/libGLEW.so.1 >+lib/libGLEW.so.2.0 >+lib/libGLEW.so.2.0.0 > libdata/pkgconfig/glew.pc >-libdata/pkgconfig/glewmx.pc > %%PORTDOCS%%%%DOCSDIR%%/advanced.html > %%PORTDOCS%%%%DOCSDIR%%/basic.html > %%PORTDOCS%%%%DOCSDIR%%/build.html >@@ -25,4 +22,5 @@ > %%PORTDOCS%%%%DOCSDIR%%/log.html > %%PORTDOCS%%%%DOCSDIR%%/new.png > %%PORTDOCS%%%%DOCSDIR%%/ogl_sm.jpg >+%%PORTDOCS%%%%DOCSDIR%%/travis.png > %%PORTDOCS%%%%DOCSDIR%%/wglew.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214467
: 176947