diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-02 03:49:20 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-02 03:49:20 +0000 |
commit | cfa954a5bef4abe129c1198ece52679a53a29c26 (patch) | |
tree | f751ddcb85b8b3771ef5799d126c0efe7ad6c921 /graphics/glew | |
parent | - Fix MSN nickname display problem (diff) |
- Revert my previous commit, it was completely bogus [1]
- Respect CFLAGS [2]
Requested by: maintainer [1]
Submitted by: maintainer [2]
Notes
Notes:
svn path=/head/; revision=105930
Diffstat (limited to 'graphics/glew')
-rw-r--r-- | graphics/glew/Makefile | 6 | ||||
-rw-r--r-- | graphics/glew/files/patch-Makefile | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile index 1514bbbf9bc5..cb1222028fa3 100644 --- a/graphics/glew/Makefile +++ b/graphics/glew/Makefile @@ -19,13 +19,7 @@ USE_GMAKE= yes USE_X_PREFIX= yes USE_GL= yes INSTALLS_SHLIB= yes -USE_REINPLACE= yes WRKSRC= ${WRKDIR}/${PORTNAME} -MAKE_ENV= CC="${CC}" - -post-patch: - ${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' \ - ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${PREFIX}/bin diff --git a/graphics/glew/files/patch-Makefile b/graphics/glew/files/patch-Makefile index 4a5652e240ea..da5238fb7e31 100644 --- a/graphics/glew/files/patch-Makefile +++ b/graphics/glew/files/patch-Makefile @@ -1,6 +1,6 @@ --- Makefile.orig Sun Dec 14 18:21:44 2003 +++ Makefile Sun Jan 25 07:38:41 2004 -@@ -83,6 +83,27 @@ +@@ -83,6 +83,26 @@ else # ---------------------------------------------------------------------------- @@ -16,7 +16,6 @@ +LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 +GLEW_DEST = ${X11BASE} +WARN = -Wall -W -+POPT = -O2 +BIN.SUFFIX = +LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR) +LIB.DEVLNK = lib$(NAME).so |