aboutsummaryrefslogtreecommitdiff
path: root/graphics/glew
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-04-02 03:49:20 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-04-02 03:49:20 +0000
commitcfa954a5bef4abe129c1198ece52679a53a29c26 (patch)
treef751ddcb85b8b3771ef5799d126c0efe7ad6c921 /graphics/glew
parent5684599bf617d22ac9e17688aab91cb671aeb397 (diff)
downloadports-cfa954a5bef4abe129c1198ece52679a53a29c26.tar.gz
ports-cfa954a5bef4abe129c1198ece52679a53a29c26.zip
Notes
Diffstat (limited to 'graphics/glew')
-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