mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
2dc4cff912
bindings for OpenGL. This implements the interface for OpenGL 1.2, GLU 1.2, GLUT 3.7, and several extensions. WWW: http://math.nist.gov/f90gl/
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
--- mf8lim7.orig Wed Sep 14 23:41:20 2005
|
|
+++ mf8lim7 Sun Jul 22 06:24:02 2007
|
|
@@ -15,13 +15,16 @@
|
|
# LOWERCASE - convert to lower case
|
|
# UNDERSCORE - convert to lower case and append underscore
|
|
# UPPERCASE - convert to upper case
|
|
-FNAME = UNDERSCORE
|
|
+FNAME = %%FNAME%%
|
|
+
|
|
+#
|
|
+MESAHOME= %%LOCALBASE%%
|
|
|
|
# the include directory(ies) for OpenGL (GL is a subdirectory of it) and GLUT
|
|
OGLINC = -I$(MESAHOME)/include
|
|
|
|
# the include directory for X11
|
|
-X11INC = -I/usr/X11R6/include
|
|
+X11INC = -I%%LOCALBASE%%/include
|
|
|
|
# the library directory(ies) for OpenGL and GLUT
|
|
OGLLIBDIR = -L$(MESAHOME)/lib
|
|
@@ -30,7 +33,7 @@
|
|
OGLLIB = -lglut -lGLU -lGL
|
|
|
|
# the library directory for X11
|
|
-X11LIBDIR = -L/usr/X11R6/lib
|
|
+X11LIBDIR = -L%%LOCALBASE%%/lib
|
|
|
|
# the X11 libraries
|
|
X11LIB = -lXaw -lXt -lXmu -lXi -lXext -lX11 -lm
|
|
@@ -45,12 +48,12 @@
|
|
RANLIB = ranlib
|
|
|
|
# fortran 90 compiler and compiler flags
|
|
-F90 = ifort
|
|
-F90FLAGS = -O
|
|
+F90 = %%FC%%
|
|
+F90FLAGS = -O %%FFLAGS%%
|
|
|
|
# C compiler and compiler flags
|
|
-CC = gcc
|
|
-CFLAGS = -O -DFNAME=$(FNAME)
|
|
+CC = %%CC%%
|
|
+CFLAGS = -O -DFNAME=$(FNAME) %%CFLAGS%%
|
|
|
|
# The suffix for module files generated by the compiler. If none are
|
|
# generated, then use 'junk' or something (do not leave it blank).
|