summaryrefslogtreecommitdiff
path: root/biology/arka/patches/patch-aa
blob: 736b206756d62f16d1dac3b9493b7ca7913e74d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.1.1.1 2005/03/27 13:08:45 jmmv Exp $

--- src/Makefile.orig	2001-05-09 22:28:41.000000000 +0200
+++ src/Makefile
@@ -1,5 +1,5 @@
 CC=gcc
-CFLAGS=`gtk-config --cflags` -Wall
+CFLAGS+=$(CPPFLAGS) `gtk-config --cflags`
 
 objects = komunikat.o main.o file.o interface.o genpak.o rcfile.o \
 	graph.o graph3d.o help.o programs.o options.o misc.o seqed.o search.o \
@@ -10,7 +10,7 @@ all: arka
 	mv arka ..
 
 arka:	$(objects)
-	gcc -o arka $(objects)  `gtk-config --libs` -lm
+	gcc $(LDFLAGS) -o arka $(objects)  `gtk-config --libs` -lm
 
 $(objects): main.h