aboutsummaryrefslogtreecommitdiff
path: root/cad/calculix/files/patch-cgx_1.0+src+Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/calculix/files/patch-cgx_1.0+src+Makefile')
-rw-r--r--cad/calculix/files/patch-cgx_1.0+src+Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/cad/calculix/files/patch-cgx_1.0+src+Makefile b/cad/calculix/files/patch-cgx_1.0+src+Makefile
new file mode 100644
index 000000000000..f65a324bd8b5
--- /dev/null
+++ b/cad/calculix/files/patch-cgx_1.0+src+Makefile
@@ -0,0 +1,23 @@
+--- cgx_1.0/src/Makefile.orig Tue Apr 8 04:38:13 2003
++++ cgx_1.0/src/Makefile Mon May 5 21:21:22 2003
+@@ -1,14 +1,12 @@
+-CFLAGS = -O2 -Wall \
++CFLAGS+= %%CFLAGS%% \
+ -I./ \
+- -I/usr/include \
+- -I/usr/include/GL \
+- -I/usr/X11R6/include
++ -I%%X11BASE%%/include/GL \
++ -I%%X11BASE%%/include
+
+ LFLAGS = \
+- -L/usr/lib -lGL -lGLU -lglut \
+- -L/usr/X11R6/lib -lX11 -lXext -lXi -lXmu -lXt -lSM -lICE \
+- -lm
+-
++ -L%%X11BASE%%/lib -lX11 -lXext -lXi -lXmu -lXt -lSM -lICE \
++ -lGL -lGLU -lglut \
++ -lm
+
+ SLIB = \
+ AsplitA.c \