summaryrefslogtreecommitdiff
path: root/biology/phylip/patches/patch-aa
blob: 608ac7ad8c38175b93c37075e6a4255fd8c1e100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-aa,v 1.2 2005/12/28 13:46:07 joerg Exp $

--- Makefile.orig	2003-12-23 05:21:14.000000000 +0000
+++ Makefile
@@ -62,7 +62,7 @@ EXEDIR  = ../exe
 #
 #
 #A minimal one
-CFLAGS =
+#CFLAGS =
 #
 # A basic one for debugging
 #CFLAGS  = -g 
@@ -111,7 +111,7 @@ LIBS    = -lm
 #
 # For gcc for Linux with X windows development packages installed
 # or for MacOS X with X windows installed
-DLIBS= -L/usr/X11R6/lib/ -lX11 -lXaw -lXt
+DLIBS= ${X11_LDFLAGS} -lX11 -lXaw -lXt
 #
 # ----------------------------------------------------------------------------
 #
@@ -119,7 +119,7 @@ DLIBS= -L/usr/X11R6/lib/ -lX11 -lXaw -lX
 # ordinary compiles and the tree-drawing programs, CC and DC
 #
 # This one specifies the "cc" C compiler
-CC        = cc $(CFLAGS)
+CC        := ${CC} $(CFLAGS)
 #
 #  To use GCC instead, if it is not the compiler that "cc" invokes
 #CC        = gcc $(CFLAGS)