summaryrefslogtreecommitdiff
path: root/time/glclock/patches/patch-aa
blob: a97b33c61c8ec7d8846848bc23ddbfa6cdf1bb82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.6 2012/01/29 15:53:27 marino Exp $

--- makefile.orig	2000-06-18 15:37:40.000000000 +0100
+++ makefile	2008-04-24 14:54:35.000000000 +0100
@@ -13,12 +13,12 @@
 
        COMPILER = g++ -c
          LINKER = g++
-            OPT = -O2
+            OPT = 
 
-   INCLUDE_PATH = -I/usr/X11R6/include
-       LIB_PATH = -L/usr/X11R6/lib
+   INCLUDE_PATH = -I${LOCALBASE}/include
+       LIB_PATH = -L${LOCALBASE}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -Wl,-R${LOCALBASE}/lib
 
-           LIBS = -lglut -lGLU -lGL -lXi -lXmu -lXext -lX11 -lm
+           LIBS = -lglut -lGLU -lGL -lXi -lXmu -lXext -lX11 -lXt -lSM -lICE -lm
       MARK_LIBS = -lm
 
 #