mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
27 lines
813 B
Plaintext
27 lines
813 B
Plaintext
$NetBSD: patch-aa,v 1.3 2015/03/21 19:27:56 joerg Exp $
|
|
|
|
--- makefile.orig 2008-06-24 13:44:16.000000000 +0000
|
|
+++ makefile
|
|
@@ -13,8 +13,7 @@
|
|
# Disregard compiler warnings on rdmolf.f
|
|
#
|
|
CC = cc
|
|
-LIBS = -lX11 -lm
|
|
-LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lXmu -lX11 -lm
|
|
+LIBS = -L${X11BASE}/lib -R${X11BASE}/lib -lX11 -lm
|
|
|
|
# Silicon Graphics
|
|
#CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
|
|
@@ -52,10 +51,9 @@ LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lXm
|
|
# with GCC4.0 or higher replace the line with:
|
|
# 'external gfortran_iargc'
|
|
#
|
|
-CFLAGS = -c -I/usr/X11R6/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
|
|
+CFLAGS += -c -I${X11BASE}/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
|
|
FC = g77
|
|
FFLAGS =
|
|
-LIBS = -L/usr/X11R6/lib -lX11 -lm
|
|
LDR = g77
|
|
# 64 bit machines:
|
|
#LIBS = -L/usr/X11R6/lib64 -lX11 -lm
|