openbsd-ports/graphics/glut/patches/patch-lib_glut_Imakefile
2004-04-18 11:54:09 +00:00

40 lines
967 B
Plaintext

$OpenBSD: patch-lib_glut_Imakefile,v 1.3 2004/04/18 11:54:09 sturm Exp $
--- lib/glut/Imakefile.orig 1998-08-08 02:20:51.000000000 +0200
+++ lib/glut/Imakefile 2004-04-18 11:26:43.000000000 +0200
@@ -2,10 +2,12 @@
/* Copyright (c) Mark J. Kilgard, 1994. */
#define DoNormalLib YES
+#define DoSharedLib YES
+#define DoExtraLib YES
+#define LibName glut
+#define SoRev SOGLUTREV
-#include <Library.tmpl>
-
-#include "../../Glut.cf"
+SOGLUTREV = 3.7
HDRS = \
glutint.h \
@@ -108,6 +110,10 @@ OBJS = \
glut_winmisc.o \
layerutil.o
+#include <Library.tmpl>
+
+#include "../../Glut.cf"
+
#ifdef LibraryObjectRule
LibraryObjectRule()
#else
@@ -116,8 +122,6 @@ LibraryObjectRule()
NormalLibraryObjectRule()
#endif
-NormalLibraryTarget(glut,$(OBJS))
-
/* I've gotten too many complaints from people (mostly Linux users)
trying to build GLUT that have problems using lex and yacc to
build the stroke fonts for GLUT so I will simply supply the