diff options
| author | Maho Nakata <maho@FreeBSD.org> | 2007-09-28 23:48:53 +0000 |
|---|---|---|
| committer | Maho Nakata <maho@FreeBSD.org> | 2007-09-28 23:48:53 +0000 |
| commit | 2dc4cff912e0e98766361d714fcec9a53e1c2b30 (patch) | |
| tree | 04e247fa61a6f99fce695d2d4b6887fbf26edba1 /graphics/f90gl/files/patch-mf8lim7 | |
| parent | Put back in the -devel's pkg-descr and comment line to differentiate (diff) | |
f90gl is a public domain implementation of the official Fortran90
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/
Diffstat (limited to 'graphics/f90gl/files/patch-mf8lim7')
| -rw-r--r-- | graphics/f90gl/files/patch-mf8lim7 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/graphics/f90gl/files/patch-mf8lim7 b/graphics/f90gl/files/patch-mf8lim7 new file mode 100644 index 000000000000..8e673a904454 --- /dev/null +++ b/graphics/f90gl/files/patch-mf8lim7 @@ -0,0 +1,47 @@ +--- 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). |
