Fix build and PLIST for -opengl casediff -r1.1.1.1 -r1.2 pkgsrc/x11/fltk2/PLIST
(abs)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2008/05/25 15:29:19 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2009/03/18 11:09:33 abs Exp $ | |
2 | bin/fltk2-config | 2 | bin/fltk2-config | |
3 | bin/fluid2 | 3 | bin/fluid2 | |
4 | include/fltk/Adjuster.h | 4 | include/fltk/Adjuster.h | |
5 | include/fltk/AlignGroup.h | 5 | include/fltk/AlignGroup.h | |
6 | include/fltk/AnsiWidget.h | 6 | include/fltk/AnsiWidget.h | |
7 | include/fltk/BarGroup.h | 7 | include/fltk/BarGroup.h | |
8 | include/fltk/Box.h | 8 | include/fltk/Box.h | |
9 | include/fltk/Browser.h | 9 | include/fltk/Browser.h | |
10 | include/fltk/Button.h | 10 | include/fltk/Button.h | |
11 | include/fltk/CheckButton.h | 11 | include/fltk/CheckButton.h | |
12 | include/fltk/Choice.h | 12 | include/fltk/Choice.h | |
13 | include/fltk/Clock.h | 13 | include/fltk/Clock.h | |
14 | include/fltk/Color.h | 14 | include/fltk/Color.h | |
@@ -181,19 +181,19 @@ include/fltk/osx.h | @@ -181,19 +181,19 @@ include/fltk/osx.h | |||
181 | include/fltk/pnmImage.h | 181 | include/fltk/pnmImage.h | |
182 | include/fltk/rgbImage.h | 182 | include/fltk/rgbImage.h | |
183 | include/fltk/run.h | 183 | include/fltk/run.h | |
184 | include/fltk/show_colormap.h | 184 | include/fltk/show_colormap.h | |
185 | include/fltk/string.h | 185 | include/fltk/string.h | |
186 | include/fltk/utf.h | 186 | include/fltk/utf.h | |
187 | include/fltk/visual.h | 187 | include/fltk/visual.h | |
188 | include/fltk/win32.h | 188 | include/fltk/win32.h | |
189 | include/fltk/x.h | 189 | include/fltk/x.h | |
190 | include/fltk/x11.h | 190 | include/fltk/x11.h | |
191 | include/fltk/xbmImage.h | 191 | include/fltk/xbmImage.h | |
192 | include/fltk/xpmImage.h | 192 | include/fltk/xpmImage.h | |
193 | lib/libfltk2.a | 193 | lib/libfltk2.a | |
194 | lib/libfltk2_gl.a | 194 | ${PLIST.opengl}lib/libfltk2_gl.a | |
195 | lib/libfltk2_glut.a | 195 | ${PLIST.opengl}lib/libfltk2_glut.a | |
196 | lib/libfltk2_images.a | 196 | lib/libfltk2_images.a | |
197 | @dirrm include/fltk/compat/FL | 197 | @dirrm include/fltk/compat/FL | |
198 | @dirrm include/fltk/compat | 198 | @dirrm include/fltk/compat | |
199 | @dirrm include/fltk | 199 | @dirrm include/fltk |
@@ -1,20 +1,26 @@ | @@ -1,20 +1,26 @@ | |||
1 | # $NetBSD: options.mk,v 1.2 2009/03/14 12:10:21 abs Exp $ | 1 | # $NetBSD: options.mk,v 1.3 2009/03/18 11:09:33 abs Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.fltk2 | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.fltk2 | |
4 | PKG_SUPPORTED_OPTIONS= opengl | 4 | PKG_SUPPORTED_OPTIONS= opengl | |
5 | PKG_SUGGESTED_OPTIONS= | 5 | PKG_SUGGESTED_OPTIONS= | |
6 | 6 | |||
7 | # Default | 7 | # Default | |
8 | .if ${MACHINE_ARCH} != "m68k" && ${MACHINE_ARCH} != "m68000" && \ | 8 | .if ${MACHINE_ARCH} != "m68k" && ${MACHINE_ARCH} != "m68000" && \ | |
9 | ${MACHINE_ARCH} != "vax" | 9 | ${MACHINE_ARCH} != "vax" | |
10 | PKG_SUGGESTED_OPTIONS+= opengl | 10 | PKG_SUGGESTED_OPTIONS+= opengl | |
11 | .endif | 11 | .endif | |
12 | 12 | |||
13 | .include "../../mk/bsd.options.mk" | 13 | .include "../../mk/bsd.options.mk" | |
14 | 14 | |||
15 | .if !empty(PKG_OPTIONS:Mgl) | 15 | PLIST_VARS+= opengl | |
16 | .if !empty(PKG_OPTIONS:Mopengl) | |||
17 | PLIST.opengl= yes | |||
16 | .include "../../graphics/MesaLib/buildlink3.mk" | 18 | .include "../../graphics/MesaLib/buildlink3.mk" | |
17 | .include "../../graphics/glu/buildlink3.mk" | 19 | .include "../../graphics/glu/buildlink3.mk" | |
18 | .else | 20 | .else | |
19 | CONFIGURE_ARGS+= --disable-gl | 21 | CONFIGURE_ARGS+= --disable-gl | |
22 | SUBST_CLASSES+= opengl | |||
23 | SUBST_STAGE.opengl= post-configure | |||
24 | SUBST_FILES.opengl= Makefile | |||
25 | SUBST_SED.opengl= -e 's|OpenGL fluid glut test|fluid|g' | |||
20 | .endif | 26 | .endif |