SHARED_LIBS

This commit is contained in:
steven 2005-12-26 21:08:52 +00:00
parent fd43dcbbd5
commit 7f7a6e8f18
5 changed files with 31 additions and 26 deletions

View File

@ -1,9 +1,12 @@
# $OpenBSD: Makefile,v 1.10 2005/11/20 18:17:14 naddy Exp $
# $OpenBSD: Makefile,v 1.11 2005/12/26 21:08:52 steven Exp $
COMMENT= "OpenGL Utility Toolkit"
DISTNAME= glut-3.7
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= glsmap 3.7 \
glut 3.7 \
mui 3.7
CATEGORIES= graphics devel
MASTER_SITES= http://www.opengl.org/resources/libraries/glut/
@ -18,6 +21,11 @@ CONFIGURE_STYLE= imake
USE_X11= Yes
NO_REGRESS= Yes
MAKE_FLAGS= SOGLSMAPREV=${LIBglsmap_VERSION} \
SOGLUTREV=${LIBglut_VERSION} \
SOMUIREV=${LIBmui_VERSION}
FAKE_FLAGS= ${MAKE_FLAGS} ${DESTDIRNAME}=${WRKINST}
post-extract:
@perl -i -p -e 's/3GLUT/3/;' ${WRKSRC}/man/glut/*.man
@perl -i -p -e 's/\r//;' ${WRKSRC}/man/glut/*.man \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_glsmap_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
$OpenBSD: patch-lib_glsmap_Imakefile,v 1.5 2005/12/26 21:08:52 steven Exp $
--- lib/glsmap/Imakefile.orig Sat Aug 8 02:20:50 1998
+++ lib/glsmap/Imakefile Sun Nov 20 18:52:58 2005
@@ -2,11 +2,13 @@
+++ lib/glsmap/Imakefile Mon Dec 26 22:04:07 2005
@@ -2,11 +2,11 @@
/* Copyright (c) Mark J. Kilgard, 1998. */
#define DoNormalLib YES
@ -11,14 +11,13 @@ $OpenBSD: patch-lib_glsmap_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
+#define SoRev SOGLSMAPREV
-#include <Library.tmpl>
+SOGLSMAPREV = 3.7
-
-#include "../../Glut.cf"
-
SRCS = smap_buildsmap.c smap_context.c smap_create.c smap_destroy.c \
smap_drawmesh.c smap_flag.c smap_get.c smap_getfunc.c smap_gettexdim.c \
smap_gettexobj.c smap_getvec.c smap_makemesh.c smap_nearfar.c \
@@ -19,6 +21,10 @@ OBJS = smap_buildsmap.o smap_context.o s
@@ -19,6 +19,10 @@ OBJS = smap_buildsmap.o smap_context.o s
smap_origin.o smap_render.o smap_rvec2st.o smap_set.o smap_setfunc.o \
smap_setvec.o smap_texdim.o smap_texobj.o
@ -29,7 +28,7 @@ $OpenBSD: patch-lib_glsmap_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
#ifdef LibraryObjectRule
LibraryObjectRule()
#else
@@ -26,7 +32,5 @@ LibraryObjectRule()
@@ -26,7 +30,5 @@ LibraryObjectRule()
will probably do essentially what LibraryObjectRule does. */
NormalLibraryObjectRule()
#endif

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_glut_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
--- lib/glut/Imakefile.orig Sun Nov 20 18:53:41 2005
+++ lib/glut/Imakefile Sun Nov 20 18:52:58 2005
@@ -2,11 +2,13 @@
$OpenBSD: patch-lib_glut_Imakefile,v 1.5 2005/12/26 21:08:52 steven Exp $
--- lib/glut/Imakefile.orig Sat Aug 8 02:20:51 1998
+++ lib/glut/Imakefile Mon Dec 26 22:03:44 2005
@@ -2,11 +2,11 @@
/* Copyright (c) Mark J. Kilgard, 1994. */
#define DoNormalLib YES
@ -11,14 +11,13 @@ $OpenBSD: patch-lib_glut_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
+#define SoRev SOGLUTREV
-#include <Library.tmpl>
+SOGLUTREV = 3.7
-
-#include "../../Glut.cf"
-
HDRS = \
glutint.h \
glutstroke.h \
@@ -108,6 +110,10 @@ OBJS = \
@@ -108,6 +108,10 @@ OBJS = \
glut_winmisc.o \
layerutil.o
@ -29,7 +28,7 @@ $OpenBSD: patch-lib_glut_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
#ifdef LibraryObjectRule
LibraryObjectRule()
#else
@@ -115,8 +121,6 @@ LibraryObjectRule()
@@ -115,8 +119,6 @@ LibraryObjectRule()
will probably do essentially what LibraryObjectRule does. */
NormalLibraryObjectRule()
#endif

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_mui_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
$OpenBSD: patch-lib_mui_Imakefile,v 1.5 2005/12/26 21:08:52 steven Exp $
--- lib/mui/Imakefile.orig Sat Aug 8 02:20:51 1998
+++ lib/mui/Imakefile Sun Nov 20 18:52:58 2005
@@ -2,17 +2,23 @@
+++ lib/mui/Imakefile Mon Dec 26 22:04:27 2005
@@ -2,17 +2,21 @@
/* Copyright (c) Mark J. Kilgard, 1994. */
#define DoNormalLib YES
@ -11,8 +11,7 @@ $OpenBSD: patch-lib_mui_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
+#define SoRev SOMUIREV
-#include <Library.tmpl>
+SOMUIREV = 3.7
-
-#include "../../Glut.cf"
-
SRCS = button.c displaylist.c gizmo.c glutmui.c \
@ -28,7 +27,7 @@ $OpenBSD: patch-lib_mui_Imakefile,v 1.4 2005/11/20 18:03:25 naddy Exp $
#ifdef LibraryObjectRule
LibraryObjectRule()
#else
@@ -20,7 +26,5 @@ LibraryObjectRule()
@@ -20,7 +24,5 @@ LibraryObjectRule()
will probably do essentially what LibraryObjectRule does. */
NormalLibraryObjectRule()
#endif

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/09/15 00:50:09 espie Exp $
@lib lib/libglsmap.so.3.7
@lib lib/libglut.so.3.7
@lib lib/libmui.so.3.7
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/26 21:08:52 steven Exp $
@lib lib/libglsmap.so.${LIBglsmap_VERSION}
@lib lib/libglut.so.${LIBglut_VERSION}
@lib lib/libmui.so.${LIBmui_VERSION}