aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glew/Makefile6
-rw-r--r--graphics/glew/files/patch-Makefile3
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