freebsd-ports/graphics/vvv/files/patch-Makefile
Pav Lucistnik c16c4d1cf8 Viewing Volume Visualizer is a tutorial tool for understanding
viewing and projection in OpenGL. It allows user to see effects
of changing viewing and projection parameters on seeing a scene.
Additionally it is possible to dump a C file which specifies viewing
and projection of the current principal view in one routine. It could
be incorporated into another program that wants to define a specific
view and projection. VVV can therefore be used as a preview tool.

PR:		ports/85948
Submitted by:	Igor Pokrovsky <ip@doom.homeunix.org>
2005-09-10 22:46:13 +00:00

24 lines
544 B
Text

--- Makefile.orig Thu Feb 3 22:03:08 2005
+++ Makefile Sat Sep 10 13:11:30 2005
@@ -28,9 +28,10 @@
ifeq ($(OS),unix)
RM = rm
- LFLAG1 = -L/usr/lib -L/usr/X11R6/lib
+ IFLAG1 = -I$(X11BASE)/include
+ LFLAG1 = -L$(X11BASE)/lib
# Where the GLUI library is:
- LFLAG2 = -L/home/thomas/graphics/OpenGL/glui_v2_2/lib
+ LFLAG2 =
LIBS = -lglui -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm
endif
ifeq ($(OS),Windows_NT)
@@ -55,7 +56,7 @@
IFLAGGLUI = -I.
-IFLAGS = $(IFLAGGLUI)
+IFLAGS = $(IFLAGGLUI) $(IFLAG1)