$NetBSD: patch-aa,v 1.4 2007/03/17 16:35:05 rillig Exp $

--- unix/Makefile.gtk.orig	2007-01-24 21:22:52.000000000 +0100
+++ unix/Makefile.gtk	2007-03-17 17:27:25.000000000 +0100
@@ -98,14 +98,14 @@
 # TOOLPATH = /opt/gcc/bin
 CC = $(TOOLPATH)cc
 
-CFLAGS = -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
+CFLAGS += -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
 		-I../mac/ -I../macosx/ `gtk-config --cflags` -D _FILE_OFFSET_BITS=64
 XLDFLAGS = `gtk-config --libs`
-ULDFLAGS =#
+ULDFLAGS = $(LDFLAGS)
 INSTALL=install
 INSTALL_PROGRAM=$(INSTALL)
 INSTALL_DATA=$(INSTALL)
-prefix=/usr/local
+prefix= ${PREFIX}
 exec_prefix=$(prefix)
 bindir=$(exec_prefix)/bin
 mandir=$(prefix)/man
