summaryrefslogtreecommitdiff
path: root/x11/xephem/patches/patch-aa
blob: 205a87bee90c7db90f8deb1ab8bca01c899c86ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.8 2007/03/02 22:20:45 gdt Exp $

--- Makefile.orig	2006-05-13 19:06:06.000000000 -0400
+++ Makefile
@@ -32,9 +32,9 @@ endif
 # for linux and pure ppc Apple OS X
 CC = gcc
 CLDFLAGS = -g
-CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/usr/X11R6/include
-LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/usr/X11R6/lib
-XLIBS = $(MOTIFL)/libXm.a -lXp -lXt -lXext -lXmu -lX11
+CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I/usr/X11R6/include
+LDFLAGS = $(LIBLNK) $(CLDFLAGS) $(X11_LDFLAGS)
+XLIBS = $(MOTIFLIB) -lXp -lXt -lXext -lXmu -lX11
 LIBS = $(XLIBS) $(LIBLIB) -lm
 
 # for ppc Apple OS X to make universal (i386 and ppc binary), requires